- python3
- pip
- docker
- docker-compose
- virtualenv
-
Allow access to less secure app in gmail
-
Clone the project
git clone https://github.com/pedro-hs/financial-account.git
-
Enter the project folder
cd financial-account
-
Put valid values for email and password in .env and docker-compose.yml files
-
Run the install.sh file
source install.sh
-
Create superuser
python3 manage.py createsuperuser
-
Run API
- (docker)
source run.sh
- (local)
source run.sh local
-
From here requests can be made by postman collections, or by url swagger
/docs
-
To run the tests run
source run_tests.sh
-
Permitir acesso a app menos seguro no gmail
-
Clonar o projeto
git clone https://github.com/pedro-hs/financial-account.git
-
Entrar na pasta do projeto
cd financial-account
-
Colocar valores validos para email e senha nos arquivos .env e docker-compose.yml
-
Executar o arquivo install.sh
source install.sh
-
Criar superusuario
python3 manage.py createsuperuser
-
Subir API
- (docker)
source run.sh
- (local)
source run.sh local
-
A partir daqui as requisições podem sem feitas pelas collections do postman, ou pelo swagger da url
/docs
-
Para rodar os testes execute
source run_tests.sh