Skip to content

jmsalmeida/pfc-api

Repository files navigation

README

Software versions

  • Ruby 3.1.1
  • Rails 7.0.2

Configuration

Docker

Aplication setup

Will be necessary create a file called .env with the env variables

MYSQL_USER=<value>
MYSQL_PASSWORD=<value>
JWT_SECRET_KEY=<value>
  • Build containers
docker compose build
  • DB creation
docker exec -it <container_ref> rails db:create
  • DB migrations dev environment
docker exec -it <container_ref> rails db:migrate RAILS_ENV=development
  • Run containers
docker compose up

Configuration for developers

  • Install ruby (recommend to use a ruby version manager like RVM)
  • Inside Rails project run the command below to install the project gems
bundle install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published