README: no global rails

This commit is contained in:
Kiara Grouwstra 2023-02-19 08:18:55 +01:00
parent 12efc920ee
commit 5db55b7fc0
Signed by: kiara
GPG Key ID: 47D3B7604FFCA83A
1 changed files with 5 additions and 5 deletions

View File

@ -28,17 +28,17 @@ bundle config set --local path 'vendor'
bundle update
bundle install
bundle binstubs --all
rails app:update:bin
rails credentials:edit
./bin/rails app:update:bin
./bin/rails credentials:edit
# either restore existing data
cp old/config/master.key ./config/master.key
cp old/db/production.sqlite3 ./db/production.sqlite3
# or scaffold database
rails db:migrate # RAILS_ENV=test
./bin/rails db:migrate # RAILS_ENV=test
# handle static assets
sudo apt-get update && sudo apt-get install yarn
RAILS_ENV=production rails assets:precompile
rails webpacker:install
RAILS_ENV=production ./bin/rails assets:precompile
./bin/rails webpacker:install
# run tests
bin/rake test