Update example project README.
This commit is contained in:
parent
242acd6fda
commit
c4bbb98791
|
@ -4,6 +4,11 @@ Run your own OIDC provider in a second. This is a Django app with all the necess
|
||||||
|
|
||||||
## Setup & Running
|
## Setup & Running
|
||||||
|
|
||||||
|
- [Manually](#manually)
|
||||||
|
- [Using Docker](#using-docker)
|
||||||
|
|
||||||
|
### Manually
|
||||||
|
|
||||||
Setup project environment with [virtualenv](https://virtualenv.pypa.io) and [pip](https://pip.pypa.io).
|
Setup project environment with [virtualenv](https://virtualenv.pypa.io) and [pip](https://pip.pypa.io).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -29,19 +34,14 @@ $ python manage.py runserver
|
||||||
|
|
||||||
Open your browser and go to `http://localhost:8000`. Voilà!
|
Open your browser and go to `http://localhost:8000`. Voilà!
|
||||||
|
|
||||||
## Or Use Docker
|
### Using Docker
|
||||||
|
|
||||||
Build the container first.
|
Build and run the container.
|
||||||
```
|
|
||||||
docker build -t django-oidc-provider .
|
|
||||||
```
|
|
||||||
|
|
||||||
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
|
## Install package for development
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue