Merge pull request #8 from devindice/ADD-RUNNER

Adding Runner for Django
This commit is contained in:
Devin Dice 2022-08-18 16:22:30 -04:00 committed by GitHub
commit 24b52c145c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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)"
]
}