Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

daerd/simptter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to install the system:

  • Install dependencies:

    • Ruby >= 2.2.1.
    • MySQL >= 5.5.43.
  • Generate "secret_key_base":

    • Copy the result of the command "rake secret".
    • Open "/etc/profile" as superuser y add it at the end preceded by "export SECRET_KEY_BASE=".

    Doing that, the application obtains it without having it in the code. That's better for obviously security reasons.

  • Install gems:

    bundle

  • Run migrations:

    rake db:migrate

  • Compile assets:

    rake assets:precompile RAILS_ENV=production

  • Run the server:

    rails server -b 0.0.0.0 -e production

Releases

No releases published

Packages

No packages published