Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

gpmc-lab-ufrgs/atlas-backend-old

Repository files navigation

Frontend

The project frontend and all its instructions can be found at here Atlas Frontend

How to run atlas-backend

This project was developed using Python and Django. To set the environment and run in your machine, please follow the instructions bellow:

Setting the environment

1 - Execute docker-compose and start docker container with postgis image

docker-compose up -d
sudo docker start <Container_ID>

1 - Installing all the requirements

pip install -r requirements.txt

2 - Set migrations

python manage.py makemigrations

3 - Apply all the migrations

python manage.py migrate

4 - Populate database with states data

python manage.py load_state 

5 - Populate database with districts data

python manage.py load_dist

Running the project

1 - Activate Virtual Python Environment

source env/bin/activate 

2 - Config this python env

python3 -m venv env                                

3 - Running the project

python manage.py runserver

4 - Accessing the platform

open http://localhost:8000/admin/

How to Contribute to this project?

See our Contribution Guide

Contributors


André M. Demori


Leanordo Gomes


Ana Beatriz Pontes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published