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 python package 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
To work with styling and tailwind, you need to have Node/NPM installed. Install packages:
npm install
Then run tailwind build watcher:
npm run twbuild
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.
lowercase_with_underscores
for variable and function names.CamelCase
for class names.UPPERCASE_WITH_UNDERSCORES
for constants.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 generationThe 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.
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