link download nixpkgs https://nixos.org/download (tdk perlu NixOS)
nix-shell
nanti dia akan download dependencies yg ada di shell.nix. saya cuma masukin git, python 3.11, pip dan pdm
pdm run start
or specify your engine
pdm run start DJANGO
# list: RAW, DJANGO, SOCKETIFY, FASTAPI, FLASK
build docker image
docker build -t hello-world .
or
pdm run build
remove :
os.environ["ENGINE"] = XXX
fill the ENVIRONMENT VARIABLE in Docker before you run the container. Here's the list of the variable :
RAW: str = 'RAW'
DJANGO: str = 'DJANGO'
FLASK: str = 'FLASK'
SOCKETIFY: str = 'SOCKETIFY'
FASTAPI: str = 'FASTAPI'
run via docker image di container via desktop/terminal