This repository serves the website of PyCon TW, Python Conference Taiwan. This project is open source and the license can be found in LICENSE.
- Git 1.8+
- Python 3.6.x
- Yarn 1.0+
- Node.js 8.0+
Tests are managed with pytest-django. You have two options to run tests, either with the local environment, or in an isolated one via Tox.
Run the following command inside src
:
pytest
To run tests with coverage report:
pytest --cov=.
Run the following inside the top-level directory (the one with tox.ini
):
tox
Follow the GitHub Flow, please DO NOT push the commits into master directly. Always create branch by the feature you want to update. You are encouraged to submit a pull request for reviewing before merging things into master.
We strongly recommend you configure your editor to match our coding styles. You can do this manually, or use an EditorConfig plugin if your editor supports it. An .editorconfig
file has already been attached to the repository.
For site administrators, please refer to document/deploy_docker_prod.md.
Currently, continuous deployment is only integrated on PyCon's staging server, please refer to document/continuous_deployment.md for the setup.