.. | ||
webapp | ||
config.py | ||
kasownik-uwsgi.py | ||
manage.py | ||
README.md | ||
requirements.txt |
Kasownik webapp
Quick start (old school)
- Register new SSO application - client name and URI don't matter, redirect URI should be
http://localhost:5000/oauth/callback
(by default), enableprofile:read
scope; other settings can stay default. -
pip install -r requirements.txt # (set up database, one time) ./manage.py syncdb
- Run dev server:
SPACEAUTH_CONSUMER_KEY=xxxx SPACEAUTH_CONSUMER_SECRET=yyyy DISABLE_LDAP=true ./manage.py run -p 5000
See config.py
for more envs you can set
Quick start (Dockerized)
- Set
SPACEAUTH_CONSUMER_KEY
andSPACEAUTH_CONSUMER_SECRET
envs docker-compose run --rm kasownik-web ./manage.py syncdb
(one time)- Run the app:
docker-compose up --build
TODO
Add missing table for fetcher, add example data