- Clone repo;
git clone https://github.com/marcellobenigno/geopocos.git
cd geopocos
- Create virtualenv;
python -m venv .venv
- Activate virtualenv;
source .venv/bin/activate
- Install dependencies/requirements;
pip install -r requirements-dev.txt
- Crie o banco de dados espacial como foi descrito acima;
python manage.py makemigrations
python manage.py migrate
- Run runserver
python manage.py runserver
- Creating superuser
python manage.py createsuperuser
After pulling changes to github project, go to pythonanywhere.com and login with the username.
Then, access bahs console and update it, like showed above:
cd <your-pythonanywhere-domain>.pythonanywhere.com
git pull