thehobbs / wedding-rsvp

A site for wedding guests to send RSVPs
MIT License
0 stars 1 forks source link

Site admin #38

Closed stevehobbsdev closed 8 years ago

stevehobbsdev commented 8 years ago

/rsvps now redirects to /login when not logged in. Password is determined by 'ADMIN_PASSWORD' environment variable. To set it:

  1. Create the file .env in the root of the site and set the password: echo "ADMIN_PASSWORD=<your password>" > .env
  2. Run bundle install
  3. Run the site and browse to /rsvps, where you will be asked to log in
  4. Use the password as set in your .env file