Skip to content

Commit

Permalink
Merge pull request #3380 from codykaup/tweak-setup-steps
Browse files Browse the repository at this point in the history
Add steps for installing database gems
  • Loading branch information
kennyadsl authored Oct 15, 2019
2 parents f80912a + c06978a commit 0d93620
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,16 @@ Use at own risk.
bundle install
```

_Note_: If you're using PostgreSQL or MySQL, you'll need to install those gems through the DB environment variable.

```bash
# PostgreSQL
DB=postgresql bundle install

# MySQL
DB=mysql bundle install
```

### Sandbox

Solidus is meant to be run within the context of Rails application. You can
Expand All @@ -230,7 +240,11 @@ data already loaded.
You can create a sandbox with PostgreSQL or MySQL by setting the DB environment variable.

```bash
# PostgreSQL
DB=postgresql bundle exec rake sandbox

# MySQL
DB=mysql bundle exec rake sandbox
```

* Start the server
Expand Down

0 comments on commit 0d93620

Please sign in to comment.