AnnaNee / acessoajustica

Acesso à Justiça:

Home Page:https://acessoajustica.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LabXP 2015: Acesso à Justiça

Code Climate Scrutinizer Code Quality Build Status Coverage Status Dependency Status License

This repository contains a ruby on rails project for the Legal Department XI de Agosto. The project started in the eXtreme Programming course of 2015, of the University of São Paulo.

Dependencies

We use Docker and Compose, but still haven't hosted a Docker image at DockerHub. To get your dev environment up and running, simply follow the instructions to install Docker and Compose for your operating system. Then get sure that the Docker daemon is running and finally, run:

git clone https://github.com/acessoajustica/acessoajustica.git
./script/alfredo build

If docker fails to download the images, or the ruby bundler fail due to problems in the internet connection, you'll have to restart the docker daemon. Run:

sudo service docker restart

Or:

sudo systemctl restart docker.service

Finally, run:

./script/alfredo run

The alfredo script

The alfredo script provides the following functionalities:

# Builds the image from scratch, creates a new Gemfile.lock, runs all tests.
./script/alfredo build

#  Runs bundle update, does not remove containers or Gemfile.lock, runs all tests and migrations.
./script/alfredo update

# Stops and removes all containers.
./script/alfredo clean

# Restarts the app container if its running, starts it otherwise.
./script/alfredo restart

# Runs migrations and starts the app container.
./script/alfredo run

# Runs the migrations.
./script/alfredo migrate

# Runs unit and acceptance tests.
./script/alfredo test

For more information, run the help option:

./script/alfredo help

The app runs at localhost:3000.

Troubleshooting

Refer to https://docs.docker.com/compose/rails/.

About

Acesso à Justiça:

https://acessoajustica.herokuapp.com/

License:GNU General Public License v3.0


Languages

Language:Ruby 36.6%Language:JavaScript 25.7%Language:HTML 21.0%Language:CoffeeScript 10.6%Language:Gherkin 4.0%Language:CSS 1.1%Language:Shell 1.0%