steprun.ai
├── frontend
├── backend
├── docker-compose.yml
├── hooks
├── DEVLOG.md
└── README.md
Since the application runs with sandboxed user privileges, you need to build and run the project in a Docker container.
- Install Docker and Docker-Compose
- Build and run the project:
docker compose up -d
Based on React and Next.js.
- Install dependencies:
pnpm i - Start development server:
pnpm dev
Based on FastAPI and Python. Backend services must run in Docker container with sandboxed user privileges.
- each script is running in a separate python process in the
sandboxeduser space. sandboxeduser accesses are strictly limited, e.g. fs access.- each script process
pwdis located in/sandboxes/sandbox_{session-id} dmtcpis used to enable checkpointing and restoring of the python process.- snapshot files is stored in
/sandboxes/snapshots
- snapshot files is stored in
- each python process has shared libraries in
/sandboxes/shared_libs, and temp libraries in/sandboxes/sandbox_{session-id}/lib
Use code.interact(banner="",exitmsg="uniquePrefx-[serial]") to get the nested code execution step by step.