Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

Latest commit

 

History

History
32 lines (21 loc) · 778 Bytes

File metadata and controls

32 lines (21 loc) · 778 Bytes

Python Exercises

Simple static site builder for some python exercises in brazillian portuguese. Hosted at https://aulas.rogryza.me.

Layout

Exercises are under ex/, one markdown file per category. Files under static/ are copied as-is to the build directory.

The code to compile the src into a static website is in the build.py script.

Building

Use poetry or pip to install the dependencies:

$ poetry install
# or
$ pip install -r requirements.txt

Note that it's a good idea to be inside a virtualenv if using pip.

Then you can just run the build script while on the root of the project:

$ python build.py

The site is built under the build/ folder.