diff --git a/README.md b/README.md index 0ce102d0..a553e87e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Redisign of dmz.rs . Run -``` +```sh python atom_gen.py python prep.py python build_pages.py @@ -18,24 +18,26 @@ Complete website will be contained in `site/`. You can copy this to server. To start a development server, first build site, then run (possibly with `sudo`) -``` +```sh nginx -p . -c nginx.dev.conf ``` To stop it: -``` +```sh nginx -p . -s stop ``` ## Events To update events, update the `events.csv` then run commands -``` + +```sh python build_pages.py # builds html out of csv python image_poster.py # generates images for events ``` + ## TODO: - [x] create page builder diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..50fd310c --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +cairosvg +markdown +freetype-py +python-dateutil