Local Dev setup
Requirements: Have these installed first before continuing further.
- Docker
- Docker compose
- GNU Make
- GitHub CLI (optional, but recommended) https://cli.github.com/
Starting the local env
-
Fork the repo. See the GitHub docs for instructions on how to Fork a repo.
-
Clone your fork. If using GitHub CLI, run:
gh repo clone <personal-account>/pyladiescon-portal
- Start the local environment:
make serve
-
Open the browser and go to http://localhost:8000/ to see the app running.
-
Run the tests:
make test
Documentation Setup
The documentation is built using MKDocs and markdown.
Local docs setup
- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate
- Install docs requirements:
pip install -r requirements-docs.txt
- Run the docs server:
mkdocs serve -a localhost:8888
- Open the browser and go to http://localhost:8888/ to see the docs running.
Docs Troubleshooting
Cairo library was not found
If you see the error Cairo library was not found
, try the following instructions:
-
Check if the
Cairo libraries
are listed in/opt/homebrew/lib
folder. If not, follow the instructions on this page.