🚧 This is a repository to use as a template for rails only api projects. It is also used as a laboratory for implementations, these will be separated into branches informing this.
- Docker
- Docker Compose
- Ruby on Rails
- PostgreSQL
Clone the repository
Add file .env and open to configure enviroments variables
POSTGRES_PASSWORD=password
POSTGRES_USER=postgres_user
POSTGRES_DB=name_databaseTo build the project locally:
docker-compose buildStarting application:
docker-compose up -dConfiguring application database:
docker-compose run web rails db:create db:migrate