Skip to content

MarcPartensky/Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker CodeQL

Website

This is the code of my personal website. https://marcpartensky.com/

website

Light theme

light theme

Dark theme

dark theme

Install

From source (requires git, python, pip)

git clone https://github.com/marcpartensky/website
cd website

pip install -r requirements.txt
# or with pipenv (recommended, install pipenv with pip install pipenv)
pipenv install

./manage.py runserver

Deploy with Docker

Run website as standalone

run unsecured for quick test

docker run -it \
	-e SECRET_KEY=$(openssl rand -base64 32) \
	-p 8080:80 \
	marcpartensky/website

or run with ssl certificate

docker run -it \
	-env CERT \ # You must export a ssl certificate path
	-env KEY \ # You must export a pem key path
	-e SECRET_KEY=$(openssl rand -base64 32) \
	-p 8443:443 \
	marcpartensky/website

Or run with middleware (databases)

git clone https://github.com/marcpartensky/website
cd website
docker-compose up

Build the docker image from source

docker build . -t marcpartensky/website

Build usually last 5 minutes.

Add me as a contact

qrcode Scan to add me as a contact

Bonus

Notes

author: Marc Partensky created: 8/10/2019

Heroku Buildpacks

heroku/python
heroku/node
https://github.com/weibeld/heroku-buildpack-graphviz