Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsteixeira/django-except-catcher-demo
Demo for django-except-catcher
https://github.com/gsteixeira/django-except-catcher-demo
Last synced: about 5 hours ago
JSON representation
Demo for django-except-catcher
- Host: GitHub
- URL: https://github.com/gsteixeira/django-except-catcher-demo
- Owner: gsteixeira
- License: gpl-3.0
- Created: 2021-07-06T15:23:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-10T02:45:38.000Z (about 3 years ago)
- Last Synced: 2023-12-14T16:57:39.392Z (11 months ago)
- Language: Dockerfile
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# except-catcher-demo
Demo project for [django-except-catcher](https://github.com/gsteixeira/django-except-catcher).
## Instalation
Bare metal
```shell
virtualenv --python=python3 env/
source env/bin/activategit clone https://github.com/gsteixeira/django-except-catcher-demo
cd django-except-catcher-demo/demo/pip install -r requirements.txt
python manage.py migratepython manage.py createsuperuser --username admin --email [email protected]
python manage.py runserver
```
Or with docker:```shell
git clone https://github.com/gsteixeira/django-except-catcher-demo
cd django-except-catcher-demo/
docker build --tag except-catcher-demo .
docker run -p 8000:8000 -it except-catcher-demo
```Or with docker compose:
```shell
git clone https://github.com/gsteixeira/django-except-catcher-demo
cd django-except-catcher-demo/
docker-compose up
```Now go to url, and login as superuser:
http://localhost:8000/
If your using docker, the demo credentials are:
username: **admin**
password: **demo**Click in _Throw an error_, go back, now click in _See errors_.