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
README.md Add how to fix permissions 1 year ago
pelicanconf.py tweak favicon 1 year ago
publishconf.py tweak favicon 1 year ago
requirements.txt Freeze requirements 1 year ago

README.md

Solarpunk City

Development

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 pelicanconf.py

To deploy:

$ source env/bin/activate
(env) $ pelican -d -s publishconf.py && rsync -rv --delete output/ solarpunkcity.org:/var/www/solarpunkcity/

Editing

Edit .md files in the content/ directory.

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

Permissions

To fix permissions on the server:

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