Skip to content
The website source code (Rails).
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
vendor/assets
.env
.gitignore
.travis.yml
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru

README.md

DEPRECATED

README

Build Status


Live Site

Live version can be found here.


Stuffs

  1. bundle exec install
  2. bundle exec rake db:create

Running tests

To run the test suite simply execute: bundle exec rake test


Prod deployment pitfalls

  1. Phusion Passenger REALLY needs the 1024 MB recommended RAM. I tried with 512 MB and 1 GB and failed miserably.

  2. Apache2 does not import environment variables from ~/.bashrc. All variables must be at /etc/apache2/envvars.

  3. Don't forget to set the following in config/secrets.yml:

     secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
     secret_token: <%= ENV["SECRET_KEY_BASE"] %>

  1. Precompile assets before hand
  2. sudo a2enmod expires
  3. sudo a2enmod headers

TO-DOs

  1. Moar unit tests 1. Create deploy script 2. Travis-CI 3. Login / Contact me page 4. Authy
  2. Setup Capistrano
You can’t perform that action at this time.