README: no global rails
This commit is contained in:
parent
12efc920ee
commit
5db55b7fc0
10
README.md
10
README.md
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue