kasownik/web
2024-08-01 17:31:43 +02:00
..
webapp webapp: disable please log in message locally 2024-08-01 17:31:43 +02:00
config.py web: add smtp-based email delivery 2024-07-09 13:01:45 +02:00
kasownik-uwsgi.py Cleanup, some READMEs, manage.py script 2018-03-15 11:23:55 +01:00
manage.py *: run black 2024-07-08 22:01:00 +02:00
README.md web: update readme, remove dead code 2024-07-08 23:12:23 +02:00
requirements.txt web: remove gravatar dependency; use ldap profile avatar 2024-07-08 23:37:48 +02:00

Kasownik webapp

Quick start (old school)

  1. Register new SSO application - client name and URI don't matter, redirect URI should be http://localhost:5000/oauth/callback (by default), enable profile:read scope; other settings can stay default.
  2. pip install -r requirements.txt
    # (set up database, one time)
    ./manage.py syncdb
    
  3. 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)

  1. Set SPACEAUTH_CONSUMER_KEY and SPACEAUTH_CONSUMER_SECRET envs
  2. docker-compose run --rm kasownik-web ./manage.py syncdb (one time)
  3. Run the app: docker-compose up --build

TODO

Add missing table for fetcher, add example data