The setup for Linux / Mac specified in the ReadMe did not work on my Mac computer nor my classmate's Mac computer. There were two issues we ran into:
The secret key was not generated automatically in the .env file.
The test database was not created when running the the bin/setup file.
Details
I added a line to the ReadMe that states you must generate the rake secret key manually.
I also added two lines to the bin/setup file which creates a test database and loads the schema. This monkey patch doesn't actually address why the bootstrap.db is not generating a test database.
Notes
Screenshots/Screencasts
When the .env file sets up the test environment database, it hits an error saying it has already been created:
However, when checking the my databases in psql, I only see a "bfr_webapp_db" and not the associated "bfr_webapp_db_test."
Overview
The setup for Linux / Mac specified in the ReadMe did not work on my Mac computer nor my classmate's Mac computer. There were two issues we ran into:
.env
file.Details
I added a line to the ReadMe that states you must generate the rake secret key manually. I also added two lines to the
bin/setup
file which creates a test database and loads the schema. This monkey patch doesn't actually address why thebootstrap.db
is not generating a test database.Notes
Screenshots/Screencasts
When the
.env
file sets up the test environment database, it hits an error saying it has already been created: However, when checking the my databases in psql, I only see a "bfr_webapp_db" and not the associated "bfr_webapp_db_test."