Skip to content

Instantly share code, notes, and snippets.

@jsoma jsoma/README.md
Last active Dec 16, 2019

Embed
What would you like to do?
Installing tweego and story-formats on OS X.

Installing tweego is a little more complicated than (I think) it should be, so here's a script to do it for you. If you'd like to one-line it, you can just cut and paste this in Terminal:

curl https://gist.githubusercontent.com/jsoma/5ef3045b2004a610455f371479a6f0cf/raw/bebb34dd808a1703dd37df1fc14fee04685776f2/tweego.sh | bash

Once it's installed, tweego docs are here. You'll probably want to read these twee docs, too.

# Building temporary directory
TMP=$(mktemp -d)
TARGET=$HOME
cd $TMP
# Downloading
curl -O http://www.motoslave.net/tweego/download.php/tweego-2.0.0-macos-x64.zip
#curl -O http://www.motoslave.net/tweego/download.php/story-formats-20180826.zip
# Extracting
unzip -o tweego-2.0.0-macos-x64.zip
#unzip -o story-formats-20180826.zip
# Setting permissions for tweego
chmod +x tweego
# Creating target directories
mkdir -p $TARGET/tweego
#mkdir -p $TARGET/tweego/story-formats
# Copying files
cp -R tweego $TARGET/tweego
cp -R LICENSE $TARGET/LICENSE
#cp -R story-formats/* $TARGET/tweego/story-formats
# Adding to PATH
echo "export PATH=$TARGET/tweego:\$PATH" >> ~/.bash_profile
#echo "export TWEEGO_PATH=$TARGET/tweego/story-formats" >> ~/.bash_profile
# Updating current PATH
source ~/.bash_profile
@dylan-k

This comment has been minimized.

Copy link

dylan-k commented Apr 18, 2019

Those download URLs seem to have changed. Easily fixed but thought you might want to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.