This project serves as a boilerplate for PyCon Philippines' websites. It provides a starting point for building a website for the annual PyCon Philippines conference, as well as other PyCon-related events and initiatives.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
For the dependency management, we use poetry. To install poetry:
curl -sSL https://install.python-poetry.org | python3 -
poetry shell
poetry install
python manage.py migrate
python manage.py runserver
This project follows a standard coding style to ensure consistency and readability in the codebase.
We follow the guidelines outlined in PEP 8, the official Python style guide. This includes guidelines for naming conventions, indentation, whitespace, and more.
- Use
lowercase_with_underscores
for variable and function names. - Use
CamelCase
for class names. - Use
UPPERCASE_WITH_UNDERSCORES
for constants.
- Use 4 spaces for indentation.
- Do not use tabs for indentation.
- Use a single space after commas and colons.
- Do not use spaces around parentheses, brackets, or braces.
- Use a single blank line to separate logical sections of code.
- Limit lines to a maximum of 79 characters.
- When a line would exceed the limit, break it at an appropriate point and continue on the next line.
- Use comments to explain non-obvious code.
- Use docstrings to document functions, classes, and modules.
- Use complete sentences and proper grammar in comments and docstrings.
This project follows a standard format for commit messages to ensure consistency and clarity in the commit history.
Each commit message should consist of a single line header, followed by an optional body and footer. The header should be no more than 72 characters and should be written in the present tense. The body and footer should be separated by a blank line.
The header should follow this format:
Where type
is one of the following:
feat
: A new featurefix
: A bug fixdocs
: Documentation changesstyle
: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)refactor
: A code change that neither fixes a bug nor adds a featuretest
: Adding missing tests or correcting existing testschore
: Changes to the build process or auxiliary tools and libraries such as documentation generation
The scope
is optional and should be a short description of the affected component.
The subject
should be a brief summary of the changes.
The body should provide a more detailed description of the changes, including any relevant context or motivation.
The footer should contain any additional information, such as references to issues or pull requests.
- Wagtail - Wagtail is the leading open-source Python CMS
- Python - Python is a programming language that lets you work quickly and integrate systems more effectively.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details