Skip to content

Commit

Permalink
fixed commands for database setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-027 committed Oct 31, 2024
1 parent 34a13e6 commit 79f7fe7
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 79f7fe7

Please sign in to comment.