Skip to content

rhuangabrielsantos/Formula1-Backend

Repository files navigation

Formula1-Backend

Build Status

Welcome to the "Formula 1 Backend" Project Repository, this project consists of a car race, the rules of the race are in the F1.pdf file.

To execute the project on your local machine, it is necessary to have the docker installed. If you have not installed it, click the link below and install. Remembering that if you are using linux, it is necessary to download the docker-composite as well or use Gitpod :)

https://docs.docker.com/install/

Open in Gitpod

Setting up environment

  • Open the terminal and run the command below to clone the project:
git clone https://github.com/rhuangabrielsantos/F1-Project.git
  • Through the terminal enter the project folder and run the command:
docker-compose up -d
  • Run the command below to view the container created.
docker ps
  • Run the command below to enter the created container
docker exec -it Formula1-Backend bash
  • You are inside the container!

  • Run the following command to install the project dependencies:

composer install
  • You can now test the application by running the command
php verificarComandos