Skip to content

teh-username/ninja-corgi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The website source code (Rails).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published