Sandbox Application
$ git clone https://github.com/zerodayz/sandbox.git
$ cd sandbox
$ pip install -r requirements.txt
$ python3 app.py
- nginx
- podman (for running the sandbox containers)
$ sudo apt-get install nginx
$ sudo apt-get install podman
Execute any pending DB migrations
$ flask db upgrade
Pre-fetch the docker images for the sandbox containers
$ podman pull docker.io/library/python:3.11
$ podman pull docker.io/library/golang:1.21
There is a script that will run the sandbox application in gunicorn and nginx.
$ ./run.sh
$ git pull
$ flask db upgrade
$ ./stop.sh && ./run.sh