Go to file
Bokros Bálint b6f6725550
Merge pull request #20 from avatao-content/webide-directories
Implement support for changing working directory in webide
2018-03-09 11:22:05 +01:00
lib Fix DirectoryMonitor.stop() raising unhandled KeyError on rm -rf workdir 2018-03-09 09:50:13 +01:00
nginx Split nginx configuration to several files 2018-01-31 23:04:51 +01:00
src Add argument names to __init__() calls in event_handler_main.py 2018-03-09 08:50:54 +01:00
supervisor Remove terminado from supervisor 2018-03-06 13:27:32 +01:00
.gitignore Implement frontend dependency management 2017-12-11 17:37:21 +01:00
.gitmodules Use SSH remote for submodule instead of HTTPS 2018-01-23 17:28:33 +01:00
.pyenvrc Rearrange project and dockerize 2017-11-27 21:09:56 +01:00
Dockerfile Enforce HISTFILE consistency 2018-03-07 11:34:21 +01:00
README.md Update README.md 2018-03-09 11:14:00 +01:00
requirements.txt Implement proof of concept directory event monitoring 2018-02-12 16:01:24 +01:00
tfw_magic_start.sh Fix magic starter macOS compatibility 2018-03-06 13:26:41 +01:00

Tutorial Framework

Building and running with magic starter

Execute the tfw_magic_start.sh script and it will automagically run a backend instance in Docker and serve the Angular frontend locally.

This requires the tutorial-framework-wip and tutorial-framework-ng repositories to have a common parent folder.

Building and running with Docker

Simply issue docker build -t tfw . in the project root. The first build could take a while as it's compiling a fresh Python package from source.

Run with docker run --rm -p 8888:8888 -e AVATAO_SECRET=secret tfw.

Running locally is possible with lots of pain involved, so this is no longer officially supported.

Frontend

Place an index.html and related static files in src/frontend/dist, the web server will serve them.