diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-06-26 15:21:42 +0100 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-07-04 13:41:31 +0100 |
commit | 927a27c68e24cfe13f62ca5f0e60878b04fa4e24 (patch) | |
tree | 6273e48bc55142f35474f3e98b94c9825f908311 /bin | |
parent | 9949948f92bbe2717a05a380d3df63a332d39c9a (diff) | |
download | bitbake-927a27c68e24cfe13f62ca5f0e60878b04fa4e24.tar.gz |
toaster: add project pages
We add the new project and project page skeletons.
In the process, we add an identifier in the settings.py
to detect whenever Toaster is running in managed mode,
and a context processor to make this value available
to the template processor.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/toaster | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/toaster b/bin/toaster index 01ffc7a37..90cd98287 100755 --- a/bin/toaster +++ b/bin/toaster @@ -139,6 +139,7 @@ if [ -z "$ZSH_NAME" ] && [ `basename \"$0\"` = `basename \"$BASH_SOURCE\"` ]; th webserverKillAll RUNNING=0 } + export TOASTER_MANAGED=1 webserverStartAll || (echo "Fail to start the web server, stopping" 1>&2 && exit 1) xdg-open http://0.0.0.0:8000/ >/dev/null 2>&1 & trap trap_ctrlc SIGINT |