GitHub - PythonParaguay/PythonPy.org: Futura versión de la web de Python Paraguay
New website for Python Paraguay
Prerequisites
- Python >= 3.6
- PostgreSQL >= 10+
Dependencies
- Django >=2.2
- Wagtail >=2.6
Getting started
git clone git@github.com:PythonParaguay/PythonPy.org.git cd PythonPy.org python3 -m venv env source env/bin/activate pip install -r requirements.txt
Environment variables
You can edit and rename dotenv.example to .env and it would load at the start.
If you choose other method you're gonna need to define a few environment variables:
DB_NAME_DEV="pythonpy_dev" DB_USER_DEV="" DB_PASSW_DEV="" DB_HOST_DEV="localhost" DB_HOST_PORT="5432" SECRET_KEY_DEV="CHANGE_THIS_PUT_A_50_CHAR_RANDOM_STRING"
First run
./manage.py migrate ./manage.py createsuperuser ./manage.py runserver
To load sample data (Optional)
./manage.py loaddata test_data.json
TODO
Properbetter frontend- Unit tests
- Documentation
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
License
This project is licensed under the terms of the GNU General Public License v3.0 - see the LICENSE file for details