Personal solution to the Build a Static Site Generator project from Boot.dev.
- Python (3.12+)
-
Open your terminal from the project's root directory.
-
Run the following command to generate static content and start the server:
./main.sh
-
Visit the website at http://[::]:8888/.
This project uses the unittest
testing framework from Python's standard library to run unit tests. Each test case is located within its own test_<case>.py
file within the tests/
directory.
To run all tests, run the following command from the project's root:
./test.sh