mirror of
https://github.com/YunoHost-Apps/django_example_ynh.git
synced 2024-09-03 18:26:21 +02:00
Add more info about this project into README
This commit is contained in:
parent
41df6139c1
commit
b61f33e745
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
@ -10,10 +10,29 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Pull requests welcome ;)
|
||||
|
||||
|
||||
## Overview
|
||||
|
||||
Glue code to package django projects as yunohost apps.
|
||||
|
||||
This project is:
|
||||
|
||||
* The Python package [django-ynh](https://pypi.org/project/django-ynh/) with helpers for integrate a Django project as YunoHost package
|
||||
* A example YunoHost Application that can be installed
|
||||
* Run Django development server with a local generated YunoHost package installation (called `local_test`)
|
||||
|
||||
|
||||
### usage
|
||||
|
||||
To create/update a the first user in `install`/`upgrade`, e.g.:
|
||||
|
||||
```bash
|
||||
./manage.py create_superuser --username="$admin" --email="$admin_mail"
|
||||
```
|
||||
This Create/update Django superuser and set a unusable password.
|
||||
A password is not needed, because auth done via SSOwat ;)
|
||||
|
||||
|
||||
## SSO authentication
|
||||
|
||||
[SSOwat](https://github.com/YunoHost/SSOwat) is fully supported:
|
||||
|
|
Loading…
Add table
Reference in a new issue