diff --git a/example_project/README.md b/example_project/README.md index 159b483..3f87a3f 100644 --- a/example_project/README.md +++ b/example_project/README.md @@ -4,6 +4,11 @@ Run your own OIDC provider in a second. This is a Django app with all the necess ## Setup & Running +- [Manually](#manually) +- [Using Docker](#using-docker) + +### Manually + Setup project environment with [virtualenv](https://virtualenv.pypa.io) and [pip](https://pip.pypa.io). ```bash @@ -29,19 +34,14 @@ $ python manage.py runserver Open your browser and go to `http://localhost:8000`. VoilĂ ! -## Or Use Docker +### Using Docker -Build the container first. -``` -docker build -t django-oidc-provider . -``` +Build and run the container. -Run the container next. +```bash +$ docker build -t django-oidc-provider . +$ docker run -d -p 8000:8000 django-oidc-provider ``` -docker run -d -p 8000:8000 django-oidc-provider -``` - -Open your browser and go to `http://localhost:8000`. VoilĂ ! ## Install package for development