Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed commands for database setup #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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