Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 1.19 KB

README.md

File metadata and controls

58 lines (35 loc) · 1.19 KB

Build Status

Gurupi.org

Grupo de Usuários de Ruby do Piauí (Ruby User Group).

First steps

Git clone:

$ git clone git://github.com/GuruPI/gurupi.org.git
$ cd gurupi.org

Copy and edit according the file config/database.yml.

$ cp config/database.yml.example config/database.yml

Install the dependencies:

$ bundle install

Migrate database:

$ rake db:setup

Launch the server:

$ rails server

Go to http://localhost:3000.

Running with docker

  1. Install Docker and docker-compose.

  2. Copy docker-compose.yml and config/database.yml, they are ready to run with docker:

$ cp docker-compose.yml.example docker-compose.yml
$ cp config/database.yml.example config/database.yml
  1. Run your commands using docker-compose:
$ docker-compose run web rake db:setup
$ docker-compose up web

Go to http://localhost:3000.

Helping :)

  • Fork the project in github;
  • Update the code with your feature;
  • Create a pull request using github;