mirror of
https://github.com/suitenumerique/messages.git
synced 2026-09-07 02:17:45 +02:00
This allows user creation, passwords reset and listing users from Keycloak, plus a new MailDomainAccess model for admins. * ✨(admin) add maildomainacess model, api route and backend tests * ♻️(drf) simplify API code * ✨(keycloack) add deployable keycloak to PaaS * ✨(keycloak) add integration via API, upgrade to 26.x * 🗑️(settings) remove invitation setting * 🐛(tests) fix failing tests after rebase * 🚨(all) fix lint
16 lines
541 B
Bash
16 lines
541 B
Bash
#!/bin/bash
|
|
|
|
# Start the Django backend server
|
|
gunicorn -b :8000 messages.wsgi:application --log-file - &
|
|
|
|
# Start the Nginx server
|
|
bin/run &
|
|
|
|
# if the current shell is killed, also terminate all its children
|
|
trap "pkill SIGTERM -P $$" SIGTERM
|
|
|
|
# wait for a single child to finish,
|
|
wait -n
|
|
# then kill all the other tasks
|
|
pkill -P $$
|