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 1 year ago
assets new logo art 1 year ago
content Add solarpunk project ideas 1 year ago
themes/theme/templates add github link 1 year ago
.gitignore Initial site of temporary Solarpunk City website 1 year ago Add how to fix permissions 1 year ago tweak favicon 1 year ago tweak favicon 1 year ago
requirements.txt Freeze requirements 1 year 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