Skip to content

Commit

Permalink
Merge pull request #11 from pranav-027/database-setup-command
Browse files Browse the repository at this point in the history
fixed commands for database setup
  • Loading branch information
dunkOnIT authored Nov 4, 2024
2 parents 34a13e6 + 79f7fe7 commit 5d26a9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contributing/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Now the website will run locally. You have some options on how to set up the dat

## (2) DATABASE SETUP
There are two options here - a "test" database with generated data, or the production database (with sensitive information removed).
1. **Test database**: Quick to set up, but may not mirror real-world data well. `bin/rake db:reset`
2. **Exported database**: Takes 60-90 minutes to set up, but uses actual data from the live website. `bin/rake db:load:development`
1. **Test database**: Quick to set up, but may not mirror real-world data well. `docker exec -it rails bash -c "bin/rake db:reset"`
2. **Exported database**: Takes 60-90 minutes to set up, but uses actual data from the live website. `docker exec -it rails bash -c "bin/rake db:load:development"`

## (3) RUNNING TESTS
Two options - running while your docker server is running, or running tests independently.
Expand Down

0 comments on commit 5d26a9d

Please sign in to comment.