Add yarn install option

This commit is contained in:
178inaba 2017-04-24 22:21:23 +09:00
parent a5ad705879
commit fbb0f346c3
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ The command to install Ruby project dependencies does not require any flags, i.e
Similarly, installing JavaScript dependencies doesn't require any flags:
yarn install
yarn install --pure-lockfile
By default the development environment wants to connect to a `mastodon_development` database on localhost using your user/ident to login to Postgres (i.e. not a md5 password)

View File

@ -175,7 +175,7 @@ Then you can proceed to install project dependencies:
gem install bundler
bundle install --deployment --without development test
yarn install
yarn install --pure-lockfile
## Configuration
@ -298,7 +298,7 @@ As part of your deploy, you may need to run:
if anything in the `/db/` directory has changed, and/or
- `yarn install`
- `yarn install --pure-lockfile`
- `RAILS_ENV=production bundle exec rails assets:precompile`
if anything in the `/app/assets` directory changed.