Grupo de Usuários de Ruby do Piauí (Ruby User Group).
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.
-
Install Docker and docker-compose.
-
Copy
docker-compose.yml
andconfig/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
- Run your commands using
docker-compose
:
$ docker-compose run web rake db:setup
$ docker-compose up web
Go to http://localhost:3000.
- Fork the project in github;
- Update the code with your feature;
- Create a pull request using github;