Skip to content

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

Perform a checkout of this repository: git checkout github.com/Sinapse-Energia/EPD-Simulator.git

This is a Ruby on Rails application that is able to run over the version 4.2.0 of the framework and use a Postgres database in order to save the necessary data. Following are the steps to follow in order to deploy the application in an empty server.

  1. Install the ruby on rails framework version 4.2.0 (gem, bundle, rails, etc.)

  2. Install postgresql database

At this moment, the rails environment should be ready and the application could be deployed

Then, go to the root directory of the application and execute the following commands in order to execute the app:

  1. Open the file config/database.yml and set the credentials of your postgresql database

  2. bundle install : This command install all the gems required by the app and set in the Gemfile

  3. bundle exec rake db:migrate : This command create the database

  4. bundle exec rake db:seed : This command init the database with the necessary data

  5. rails server : This command execute the application in a web server. At this moment the application is accessible through 127.0.0.1:3000

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages