Skip to content

ethanchewy/PythonBuddySandboxed

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
api
 
 
www
 
 
 
 
 
 
 
 
 
 

Uses Docker Python Sandbox library to Sandbox PythonBuddy.

Created off of [christophetd/code-execution-api-demo] (https://github.com/christophetd/code-execution-api-demo)

Uses Docker containers to run Pylint + PythonBuddy

Prereqs:

  • Install Docker and Node.js
  • Running on Linux Server

System requirements:

  • 4GB of Storage
  • 1GB of RAM

Steps:

  1. git clone https://github.com/ethanchewy/PythonBuddySandbox
  2. git clone https://github.com/ethanchewy/PythonBuddySandboxed
  3. cd PythonBuddySandbox/container
  4. docker build -t christophetd/docker-sandbox .
  5. cd
  6. npm install --save docker-python-sandbox-pythonbuddy
  7. cd PythonBuddySandboxed
  8. cp api/config.js.sample api/config.js
  9. sudo npm start

Remember!! Change config.js's config.security.secretto something different and change static/js/javascript.js in PythonBuddySandboxed to the same secret!!

Navigate to localhost:3000 to see PythonBuddy Dockerized!

(Or if you are hosting, navigate to ExternalIP:3000 to see PythonBuddy Dockerized!)

More documentation coming...

About

Web implementation of PythonBuddy + Sandbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published