Go to file
Idaapayo 3ce28bbe40 Merge branch 'Ida/pelican' into 'master'
Ida/pelican

See merge request grassrootseconomics/pelican-website-ge!3
2021-11-02 09:05:00 +00:00
content Merge branch 'master' into 'Ida/pelican' 2021-11-02 09:01:58 +00:00
ge-theme adding newest blogs in site 2021-09-22 20:08:18 +03:00
standalone-deploy removing certbot folder 2021-11-02 11:48:29 +03:00
.dockerignore add build 2021-09-21 14:54:31 +03:00
.gitignore updating gitignore to match master 2021-11-02 00:17:57 +03:00
.gitlab-ci.yml release: docker enabled builds 2021-10-27 17:11:11 +03:00
LICENSE Update LICENSE 2021-04-28 07:04:14 +00:00
Makefile First commit 2021-04-27 21:13:11 +03:00
README.md update: dev env instructions 2021-11-01 08:58:23 +03:00
package-lock.json adding readme 2021-09-17 10:02:18 +03:00
pelicanconf.py adding readme 2021-09-17 10:02:18 +03:00
publishconf.py made all code review changes and more responsive on phones 2021-05-17 17:19:40 +03:00
requirements.txt add requirements.txt 2021-07-06 11:23:29 +03:00
sendemail.py final changes and contact form using getform 2021-08-06 15:41:48 +03:00
tasks.py First commit 2021-04-27 21:13:11 +03:00

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