Skip to content

Commit

Permalink
Add yarn install option
Browse files Browse the repository at this point in the history
  • Loading branch information
178inaba committed Apr 24, 2017
1 parent a5ad705 commit fbb0f34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Running-Mastodon/Development-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions Running-Mastodon/Production-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit fbb0f34

Please sign in to comment.