Skip to content

zerodayz/sandbox

Repository files navigation

sandbox

Sandbox Application

Sandbox Sandbox Sandbox Sandbox

Installation

$ git clone https://github.com/zerodayz/sandbox.git
$ cd sandbox
$ pip install -r requirements.txt

Development

Running the sandbox application locally

$ python3 app.py

Production

Requirements

  • nginx
  • podman (for running the sandbox containers)
$ sudo apt-get install nginx
$ sudo apt-get install podman

Running the sandbox application in Production

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

Update the sandbox application in Production

$ git pull
$ flask db upgrade
$ ./stop.sh && ./run.sh

About

Sandbox Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published