mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-07 17:06:15 +01:00
Merge pull request #8 from devindice/ADD-RUNNER
Adding Runner for Django
This commit is contained in:
commit
24b52c145c
1 changed files with 10 additions and 0 deletions
10
rootfs/etc/skel/Workspace/.c9/runners/Django.run
Normal file
10
rootfs/etc/skel/Workspace/.c9/runners/Django.run
Normal file
|
|
@ -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)"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue