diff --git a/rootfs/etc/skel/Workspace/.c9/runners/Django.run b/rootfs/etc/skel/Workspace/.c9/runners/Django.run new file mode 100644 index 0000000..14430d4 --- /dev/null +++ b/rootfs/etc/skel/Workspace/.c9/runners/Django.run @@ -0,0 +1,10 @@ +// Create a custom Cloud9 runner - similar to the Sublime build system +// For more information see https://docs.c9.io/custom_runners.html +{ + "cmd" : [ + "$(pwd)/app/virtualEnv/bin/python3", + "$(pwd)/app/manage.py", + "runserver", + "$(if [ '$IP' == '' ]; then echo 0.0.0.0; else echo $IP; fi):$(if [ '$PORT' == '' ]; then echo 8080; else echo $PORT; fi)" + ] +} \ No newline at end of file