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.
 
 
 
 
 
 
Idaapayo 3ce28bbe40 Merge branch 'Ida/pelican' into 'master' 7 months ago
content Merge branch 'master' into 'Ida/pelican' 7 months ago
ge-theme adding newest blogs in site 8 months ago
standalone-deploy removing certbot folder 7 months ago
.dockerignore add build 8 months ago
.gitignore updating gitignore to match master 7 months ago
.gitlab-ci.yml release: docker enabled builds 7 months ago
LICENSE Update LICENSE 1 year ago
Makefile First commit 1 year ago
README.md update: dev env instructions 7 months ago
package-lock.json adding readme 8 months ago
pelicanconf.py adding readme 8 months ago
publishconf.py made all code review changes and more responsive on phones 1 year ago
requirements.txt add requirements.txt 11 months ago
sendemail.py final changes and contact form using getform 10 months ago
tasks.py First commit 1 year 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