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.
|
6 months ago | |
---|---|---|
assets | 6 months ago | |
content | 6 months ago | |
themes/theme/templates | 6 months ago | |
.gitignore | 7 months ago | |
README.md | 6 months ago | |
pelicanconf.py | 6 months ago | |
publishconf.py | 6 months ago | |
requirements.txt | 7 months 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