Skip to content

Commit

Permalink
Updated README.md (publiclab#9213)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanhere authored Feb 19, 2021
1 parent 5929949 commit 24787a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ For installation, prerequisites include sqlite3 and rvm. [Click here for a compl
* You may need to first run `bundle install` if you have older gems in your environment from previous Rails work. If you get an error message like `Your Ruby version is 2.x.x, but your Gemfile specified 2.6.6` then you need to install the ruby version 2.6.6 using `rvm` or `rbenv`.
* Using **rvm**: `rvm install 2.6.6` followed by `rvm use 2.6.6`
* Using **rbenv**: `rbenv install 2.6.6` followed by `rbenv local 2.6.6`
* Install gems with `bundle install --without production mysql` from the rails root folder, to install the gems you'll need, excluding those needed only in production.
* Run this `bundle config set without 'production mysql'` from the rails root folder to set your project to exclude libraries only needed in production.
* Install gems with `bundle install` from the rails root folder, to install the gems.
6. Run `cp db/schema.rb.example db/schema.rb` to make a copy of `db/schema.rb.example` in `db/schema.rb`.
7. You could choose to use mysql2 or sqlite3 as your database
* If mysql2, run `cp config/database.yml.mysql.example config/database.yml` to make a copy of `config/database.yml.mysql.example` in `config/database.yml`
Expand Down

0 comments on commit 24787a4

Please sign in to comment.