8dd5e907856df26d29b219327eef1e53868e1c3f
GRASSROOTS NEW STATIC WEBSITE
A static website built with pelican.
INSTRUCTIONS ON HOW TO BUILD
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
make devserver
With Docker
docker build -t ge-blog .
docker run -p 8000:80 ge-blog
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://www.stormspirit.tech
# https://www.stormspirit.tech
Description
Languages
HTML
79.7%
CSS
14.9%
Python
2.9%
Shell
1.1%
Makefile
1.1%
Other
0.2%