You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kent Brockman 457e1863d2 add github link 6 months ago
assets new logo art 6 months ago
content Add solarpunk project ideas 6 months ago
themes/theme/templates add github link 6 months ago
.gitignore Initial site of temporary Solarpunk City website 7 months ago Add how to fix permissions 6 months ago tweak favicon 6 months ago tweak favicon 6 months ago
requirements.txt Freeze requirements 7 months ago

Solarpunk City


After cloning the repo:

$ cd solarpunkcity/
$ virtualenv -p python3 env
$ source env/bin/activate
(env) $ pip install -r requirements.txt

While editing:

$ source env/bin/activate
(env) $ pelican -rl -s

To deploy:

$ source env/bin/activate
(env) $ pelican -d -s && rsync -rv --delete output/


Edit .md files in the content/ directory.

Place all media in the content/media/ directory. Pelican will automatically find it.


To fix permissions on the server:

$ sudo chown -R root:solarpunks /var/www/solarpunkcity
$ sudo chmod -R g+rw /var/www/solarpunkcity