You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Idaapayo 3ce28bbe40 Merge branch 'Ida/pelican' into 'master'
Ida/pelican

See merge request grassrootseconomics/pelican-website-ge!3
2 years ago
content Merge branch 'master' into 'Ida/pelican' 2 years ago
ge-theme adding newest blogs in site 2 years ago
standalone-deploy removing certbot folder 2 years ago
.dockerignore add build 2 years ago
.gitignore updating gitignore to match master 2 years ago
.gitlab-ci.yml release: docker enabled builds 2 years ago
LICENSE Update LICENSE 2 years ago
Makefile First commit 2 years ago
README.md update: dev env instructions 2 years ago
package-lock.json adding readme 2 years ago
pelicanconf.py adding readme 2 years ago
publishconf.py made all code review changes and more responsive on phones 2 years ago
requirements.txt add requirements.txt 2 years ago
sendemail.py final changes and contact form using getform 2 years ago
tasks.py First commit 2 years ago

README.md

Grassroots Pelican Webiste

A static website built with pelican.

Development

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
make devserver

Standalone Deploy

On a new or existing droplet (requires docker and docker-compose)

# Make sure the A name choosen point to the droplet IP
# Replace domain name init-cert.sh (line 8)  and data/nginx.conf (lines 3,16,20,21)

$ cd standalone-deploy && bash init-cert.sh
$ docker build -t ge-blog -f Dockerfile ../
$ docker run -d -p 80:80 -p 443:443 -v $(pwd)/data/certbot/conf:/etc/letsencrypt -v $(pwd)/data/certbot/www:/var/www/certbot ge-blog

# Check if http->https redirect works https://httpstatus.io/
# http://grassecon.net
# https://grassecon.net