Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
doc
lib/tasks
public
script
spec
templates
vendor/plugins
.gitignore
.rspec
.travis.yml
Capfile
Dockerfile
Gemfile
Gemfile.lock
Guardfile
Procfile
README.md
Rakefile
config.ru
docker-compose.yml.sample

README.md

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;