- Starting a dev environment:
git clone https://github.com/Zynthasius39/beusp
cd beusp
bun install
bun run dev
- Set-up the proxy server:
git clone https://github.com/Zynthasius39/beusp_proxy
cd beusp_proxy
python3 -m venv .venv
#------------------------------------------------------#
source .venv/bin/activate # Linux / macOS
.venv\Scripts\activate.ps1 # Windows (Powershell)
.venv\bin\activate # Windows (CMD)
#------------------------------------------------------#
python3 -m pip install -r requirements.txt
- Start the proxy server (deployment):
# Linux/macOS only
uwsgi --http 0.0.0.0:8000 --master -p 4 -w main:app
- If you want a development server instead:
python3 src/main.py
- Enable Swagger:
export SWAGGER_ENABLED=true # Linux / macOS
$Env:SWAGGER_ENABLED = "true" # Windows (Powershell)
set SWAGGER_ENABLED=true # Windows (CMD)
- Enable Offline mode:
export TMSAPI_OFFLINE=true # Linux / macOS
$Env:TMSAPI_OFFLINE = "true" # Windows (Powershell)
set TMSAPI_OFFLINE=true # Windows (CMD)
# Change host address for your deployment
/src/Api.ts (Line 1)
+ When offline mode is enabled, no request is being made to root server.
- You need to have the proxy server running!