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'

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 update: dev env instructions 2 years ago
package-lock.json adding readme 2 years ago adding readme 2 years ago made all code review changes and more responsive on phones 2 years ago
requirements.txt add requirements.txt 2 years ago final changes and contact form using getform 2 years ago First commit 2 years ago

Grassroots Pelican Webiste

A static website built with pelican.


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 (line 8)  and data/nginx.conf (lines 3,16,20,21)

$ cd standalone-deploy && bash
$ 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