Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Latest commit

 

History

History
76 lines (60 loc) · 2.34 KB

README.md

File metadata and controls

76 lines (60 loc) · 2.34 KB

My Life Rest API

Configuration

Recommended Method: Docker Compose

The Django system is being packed in a docker image defined by the Dockerfile present in the root directory of this repository.

The best way of running the system, along with the postgres database needed, is by running the docker-compose.yml file, also available in the root directory of the repository.

docker-compose up [-d]

If you need to run any oher commands on a docker container, you can do:

docker-compose run <SERVICE_NAME> <COMMAND>

For example, if you want to run some tests on the django service, do:

docker-compose run django python manage.py test

Or, if you are getting an error when starting the server, the commando might not execute that way. Try:

docker-compose up -d
docker-compose exec <SERVICE> <COMMAND>

Users Data

Admins

Username Password
[email protected] letmein
[email protected] qwerty
[email protected] ola

Users

Username Password
[email protected] olaola
[email protected] olaolaola
[email protected] 12345ola
[email protected] qwerty98765
[email protected] 12345olaola
[email protected] pedrosorules
[email protected] qwertyola
[email protected] 12345ola
[email protected] pedropedro
[email protected] 12345ola
[email protected] 12345ola
[email protected] 12345ola
[email protected] 12345ola
[email protected] 12345ola
[email protected] 12345ola
[email protected] 12345ola
[email protected] 12345ola
[email protected] 12345ola
[email protected] 12345ola
[email protected] 12345ola

Doctors

Username Password
[email protected] qwerty12345
[email protected] asdfgh
[email protected] 987654

Acknowledgments