docs: update

This commit is contained in:
Mohamed Sohail 2021-10-27 17:07:23 +03:00
parent 11a580630f
commit 7a20de88de
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
1 changed files with 5 additions and 12 deletions

View File

@ -1,22 +1,15 @@
# GRASSROOTS NEW STATIC WEBSITE # Grassroots Pelican Webiste
A static website built with pelican. A static website built with pelican.
## INSTRUCTIONS ON HOW TO BUILD ## Development
```angular2html ```sh
python3 -m venv env python3 -m venv env
source env/bin/activate source env/bin/activate
pip install -r requirements.txt pip install -r requirements.txt
make devserver make devserver
``` ```
## With Docker
docker build -t ge-blog .
docker run -p 8000:80 ge-blog
## Standalone Deploy ## Standalone Deploy
__On a new or existing droplet (requires docker and docker-compose)__ __On a new or existing droplet (requires docker and docker-compose)__
@ -30,6 +23,6 @@ $ 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 $ 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/ # Check if http->https redirect works https://httpstatus.io/
# http://www.stormspirit.tech # http://grassecon.net
# https://www.stormspirit.tech # https://grassecon.net
``` ```