============= Make it easy for Head Start teachers to notify parents of school closures and other events via text messages.
- Clone the repository into a local directory.
bundle install --without production
rake db:setup
rails s
- Before running anything, create the environmental stuff
- Default Credentials
- Username:
[email protected]
- Password:
Password1
- Username:
rails s -b $IP -p $PORT
- In the terminal, type:
rake db:reset db:migrate
rake db:test:prepare
cucumber --require features features/students.feature
I'm having a problem installing the Postgres pg
gem. What's up with that?
Postgres is only used in our production version. If you're trying to set up a developmental working copy, make sure you're using
bundle install --without production
to install the sqlite gem instead.
My cucumber
tests are either not getting run, or just failing! What should I do?
If you're getting a problem like
Could not find table 'classrooms' (ActiveRecord::StatementInvalid)
, make sure you've prepared the test database by using the commandbundle exec rake db:test:prepare
. Otherwise, try resetting the database withbundle exec rake db:reset
or updating your Gems withbundle update
.