API-MANAGER-SCHOOL

requirements

  • You must have installed Docker >= 20.10.21
  • You must have installed Docker-compose >= 1.29.2

install

$ cp .env.example .env

# you must edit your enviroment variables 
# this is example edit document with vim, but 
# you can use your editor favorite 
$ vim .env 

# create the images about project
$ docker-compose build

# this command will execute the migrations and seeders
$ docker-compose run web rails db:create db:migrate db:seed

start web app

$ docker-compose up -d

test units

$ docker-compose exec web rspec