Sign inSign up

marcpartensky/website

By marcpartensky

•Updated over 2 years ago

Image
0

6.0K

marcpartensky/website repository overview

Docker

⁠Website

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

⁠Light theme

light theme

⁠Dark theme

dark theme

⁠Install

⁠From source⁠ (requires git⁠, python⁠, pip⁠)
git clone https://github.com/marcpartensky/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 80:80 \
	marcpartensky/website
	./manage.py runserver
⁠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 443:443 \
	marcpartensky/website
⁠Or run with middleware (databases)
git clone https://github.com/marcpartensky/website
cd website
docker-compose up

If you’re using Docker natively on Linux, Docker Desktop for Mac, or Docker Desktop for Windows, then the web app should now be listening on port 443 on your Docker daemon host. Point your web browser to http://localhost:443⁠ to find the Hello World message. If this doesn’t resolve, you can also try http://127.0.0.1:443⁠.

From https://docs.docker.com/compose/gettingstarted/⁠

⁠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 name: Website of Marc Partensky date: 8/10/2019

⁠Heroku Buildpacks

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

Tag summary

Content type

Image

Digest

sha256:38f98370b…

Size

828.3 MB

Last updated

over 2 years ago

docker pull marcpartensky/website