This is a Ruby on Rails based web application for managing a campground. This currently 'works for us' and is branded for our company use. Use at you own discretion.
- Ruby on Rails 4.1
- Ruby 2.1.5+
- Postgresql 9+
In addition to seeding your database with the standard rake db:seed, you can
also load in a set of sample data with rake db:sample_data.
To test email delivery install Mailcatcher
$ gem install mailcatcher
$ mailcatcher
$ open http://localhost:1080
- Copy
config/database.yml.disttoconfig/database.ymland customize - Configure
SECRET_KEY_BASEenvironment variable
If you're using the db:sample_data task, you'll want to store your admin
username / password to create a sample admin user.
SAMPLE_ADMIN_EMAILSAMPLE_ADMIN_PASSWORD
We're using Mailtrap.io to deliver test emails on the Staging server. Username and password are stored in environment variables:
MAILTRAP_USER_NAMEMAILTRAP_PASSWORD
In order to encrypt database columns, you need to set
DB_ENCRYPTION_KEY
If you want to use Google Analytics:
GA_TRACKING_ID
We deploy to Heroku.
- Mandrill for email delivery.