scribe/script/setup
Edward Loveall 0998a87622
Remove postgress stuff from script/setup
This app doesn't use a database so there's no point.
2021-10-10 14:52:14 -04:00

32 lines
509 B
Bash
Executable file

#!/usr/bin/env bash
# Exit if any subcommand fails
set -e
set -o pipefail
source script/helpers/text_helpers
notice "Running System Check"
./script/system_check
print_done
notice "Installing node dependencies"
yarn install --no-progress | indent
notice "Compiling assets"
yarn dev | indent
print_done
notice "Installing shards"
shards install | indent
if [ ! -f ".env" ]; then
notice "No .env found. Creating one."
touch .env
print_done
fi
print_done
notice "Run 'lucky dev' to start the app"