Go to file
2018-03-15 16:11:35 +01:00
lib Implement SourceCodeEventHandler blacklist manipulating API 2018-03-15 15:54:07 +01:00
nginx Fix nginx config for Angular 2018-03-14 10:23:46 +01:00
src Refactor SourceCodeEventHandler blacklisting to use unix pattern matching 2018-03-15 15:50:52 +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 Add submodule with remote tracking 2018-03-09 17:41:23 +01:00
.pyenvrc Rearrange project and dockerize 2017-11-27 21:09:56 +01:00
Dockerfile Remove duplicate nginx chown from Dockerfile 2018-03-14 14:32:49 +01:00
README.md Update README.md 2018-03-09 11:14:00 +01:00
requirements.txt Upgrade python packages 2018-03-15 16:11:35 +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.