[Readme] update
This commit is contained in:
		
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								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 | ||||
|   | ||||
							
								
								
									
										4
									
								
								requirements.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								requirements.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| cairosvg | ||||
| markdown | ||||
| freetype-py | ||||
| python-dateutil | ||||
		Reference in New Issue
	
	Block a user