Skip to content

Make it easy for Head Start teachers to notify parents of school closures and other events via text messages.

License

Notifications You must be signed in to change notification settings

CSC322-Grinnell/notifications

Repository files navigation

Head Start Parent Notifications Build Status

============= Make it easy for Head Start teachers to notify parents of school closures and other events via text messages.

Installation

  • Clone the repository into a local directory.
  • bundle install --without production
  • rake db:setup
  • rails s

Preregistration

  • Before running anything, create the environmental stuff

Configuration

Running Locally

  • rails s -b $IP -p $PORT

Reset Data

  • In the terminal, type:
  • rake db:reset db:migrate

Running Tests

  • rake db:test:prepare
  • cucumber --require features features/students.feature

F.A.Q.

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 command bundle exec rake db:test:prepare. Otherwise, try resetting the database with bundle exec rake db:reset or updating your Gems with bundle update.

About

Make it easy for Head Start teachers to notify parents of school closures and other events via text messages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published