[Readme] update
This commit is contained in:
parent
dea94db721
commit
67cde4c4ae
10
README.md
10
README.md
@ -6,7 +6,7 @@ Redisign of dmz.rs .
|
|||||||
|
|
||||||
Run
|
Run
|
||||||
|
|
||||||
```
|
```sh
|
||||||
python atom_gen.py
|
python atom_gen.py
|
||||||
python prep.py
|
python prep.py
|
||||||
python build_pages.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`)
|
To start a development server, first build site, then run (possibly with `sudo`)
|
||||||
|
|
||||||
```
|
```sh
|
||||||
nginx -p . -c nginx.dev.conf
|
nginx -p . -c nginx.dev.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
To stop it:
|
To stop it:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
nginx -p . -s stop
|
nginx -p . -s stop
|
||||||
```
|
```
|
||||||
|
|
||||||
## Events
|
## Events
|
||||||
|
|
||||||
To update events, update the `events.csv` then run commands
|
To update events, update the `events.csv` then run commands
|
||||||
```
|
|
||||||
|
```sh
|
||||||
python build_pages.py # builds html out of csv
|
python build_pages.py # builds html out of csv
|
||||||
python image_poster.py # generates images for events
|
python image_poster.py # generates images for events
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## TODO:
|
## TODO:
|
||||||
|
|
||||||
- [x] create page builder
|
- [x] create page builder
|
||||||
|
4
requirements.txt
Normal file
4
requirements.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
cairosvg
|
||||||
|
markdown
|
||||||
|
freetype-py
|
||||||
|
python-dateutil
|
Loading…
x
Reference in New Issue
Block a user