You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
748 B

#!/bin/sh
set -e -u
eval "git clone 'https://github.com/Cveinnt/LiveTerm.git'"
cd LiveTerm
echo "LiveTerm cloned! Installing dependencies..."
if command -v yarn >/dev/null 2>&1 ; then
yarn install
else
cat 1>&2 << 'EOA'
Uh oh! We couldn't find 'yarn' installed on your system.
You should first install 'yarn' on your system.
EOA
exit 1
fi
cat <<-'EOM'
LiveTerm has been downloaded to the current directory.
You can start developing it with:
cd LiveTerm && yarn dev
This will open a local port at http://localhost:3000,
where you can preview your website. To apply changes, edit:
config.json
And the changes should be applied upon saves!
EOM