mirror of https://github.com/docusealco/docuseal
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.
19 lines
436 B
19 lines
436 B
#!/bin/bash
|
|
set -e
|
|
|
|
echo "==> Installing Ruby dependencies..."
|
|
bundle check 2>/dev/null || bundle install --quiet
|
|
|
|
echo "==> Installing JavaScript dependencies..."
|
|
yarn install --frozen-lockfile 2>/dev/null || yarn install
|
|
|
|
echo "==> Preparing database..."
|
|
bundle exec rake db:create 2>/dev/null || true
|
|
bundle exec rake db:migrate
|
|
|
|
echo "==> Precompiling assets..."
|
|
bundle exec rake assets:precompile
|
|
|
|
echo "==> Running: $@"
|
|
exec "$@"
|