mirror of
https://github.com/revanced/revanced-releases-api.git
synced 2025-05-08 01:24:25 +02:00

* Implements client generation and management * fix announcements endpoints * change annoucements model * bump deps * sync with main * refactor: adopt some functional standards in Releases.py * feat: add new workflows * chore: remove unused files * refactor: update build badge * refactor: move files around and delete unused ones * feat: add authentication endpoints * refactor: clean up code on Clients.py controller * fix: fix the client secret update endpoint * refactor: clean up authentication code * feat: add authentication to client endpoints * chore: bump deps * feat: add admin user generation
12 lines
322 B
Bash
Executable File
12 lines
322 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script is used to run the application
|
|
# It is used by the Dockerfile
|
|
|
|
# get number of cores
|
|
CORES=$(grep -c ^processor /proc/cpuinfo)
|
|
|
|
# Start the application
|
|
hypercorn main:app --bind="${HYPERCORN_HOST}:${HYPERCORN_PORT}" \
|
|
--workers="$CORES" --log-level="$HYPERCORN_LOG_LEVEL" \
|
|
--worker-class uvloop |