EPI, databases 2, project
MANUAL
Setting up Ruby&Rails
-
Install Ruby Version Manager
https://rvm.io/
-
Install Ruby 2.0
$ rvm install 2.0.0
-
Set Ruby 2.0 as default Ruby version
$ rvm use 2.0.0
-
Install Ruby on Rails
$ gem install rails
Setting up application Inside application directory:
-
Install all the necessary gems
$ bundle install
-
Create database
$ rake db:create
-
Run migrations
$ rake db:migrate
-
Run seeds (for instant admin account)
$ rake db:seed Admin account (login: [email protected], password: secret111) will now be available
-
Turn app on
$ rails s Application will now be ready to use under "localhost:3000"
Enjoy!