Sha256: 5ffd15476a18c78458d8c31a8f356ead44f1319225088955cd2afab18a46b4e5
Contents?: true
Size: 561 Bytes
Versions: 6
Compression:
Stored size: 561 Bytes
Contents
#!/bin/sh # script/setup: Set up application for the first time after cloning, or set it # back to the initial first unused state. set -e cd "$(dirname "$0")/.." script/bootstrap echo "==> Copying config files" if [ -f ".env-example" ] && [ ! -f ".env" ]; then cp .env-example .env fi if [ -f ".env.test-example" ] && [ ! -f ".env.test" ]; then cp .env.test-example .env.test fi echo "==> Setting up database…" bin/run db create bin/run db create -e test bin/run db reset bin/run db reset -e test bin/run db seed echo "==> App is now ready to go!"
Version data entries
6 entries across 6 versions & 1 rubygems