~charles/cdaniels.net

6c7d049edc9c617847eb110786ee93b3bb266726 — Charles Daniels 1 year, 1 month ago d9b8569
setup fetch_apps
2 files changed, 32 insertions(+), 0 deletions(-)

A bin/fetch_apps
A src/app/textvis/index.md
A bin/fetch_apps => bin/fetch_apps +25 -0
@@ 0,0 1,25 @@
#!/bin/sh

# this should be called after buildit, and is optional
#
# this script fetches additional webapps and installs them into the apps/
# folder.

cd "$(dirname "$0")"
cd ..
INSTALL_ROOT="$(pwd)"
TEMPDIR="$(mktemp -d)"

# textvis
cd "$TEMPDIR"
git clone "git://github.com/charlesdaniels/textvis.git"
cd textvis
VERS="$(git log --format=oneline | head -n 1)"
cd "$INSTALL_ROOT"
mkdir -p ./dst/app/textvis/
cp -r "$TEMPDIR/textvis/src"/* ./dst/app/textvis/
echo "$VERS" > ./dst/app/textvis/build.txt
date >> ./dst/app/textvis/build.txt
rm -rf "$TEMPDIR/textvis/"

rm -rf "$TEMPDIR"

A src/app/textvis/index.md => src/app/textvis/index.md +7 -0
@@ 0,0 1,7 @@
# Website Updating

This page is currently being updated by an automated script. It should be back
up within a few minutes. This page will refresh automatically when the update
has finished.

<meta http-equiv="refresh" content="60">