Source code of website https://painel.dev.pro.br
The web site is developed using Django. The project uses Pipenv as dependecy management tool and Python Decouple for configurations.
How to install in locally (supposing you have git and python >= 3.7 installed):
git clone https://github.com/pythonprobr/pythonpro-website.git
cd pythonpro-website
cp contrib/env-sample .env
python -m pip install pipenv
pipenv install -dThe project uses Postgres as database. You can use docker compose to install it as a service running:
docker compose up -dYou can apply migrations to generate database schema:
python manage.py migrateYou can seed database to create an admin and other usefull models:
python manage.py seed_dev_dbTo run server locally (with virtualenv activated):
python manager.py runserverIf you want populate the database with some content run:
python manage.py loaddata pythonpro_contentsTo tun the tests:
pytest pythonproand install docker and run:
docker-compose up -d#License Details
The AGPL license here cover everything relate to source code but Dev Pro logo and Image. So you need to change this data for you own trademark.
Have fun!