Fix bug with loading token
Updated readme
Remove realms-wiki bash script (redundant)

Updated install.sh
Using setuptools to create cli entry point
Upstart script sets gid and uid
This commit is contained in:
Matthew Scragg 2014-09-18 10:13:33 -05:00
parent de3b2d66c3
commit 2856dc076f
5 changed files with 65 additions and 45 deletions

View file

@ -1,11 +0,0 @@
#!/bin/bash
APP_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
APP_USER="$( stat -c '%U' ${APP_DIR} )"
CURRENT_USER=`whoami`
if [ "${CURRENT_USER}" != "${APP_USER}" ]; then
echo "Warning: Running as ${CURRENT_USER}, app dir owned by ${APP_USER}"
fi
${APP_DIR}/.venv/bin/python ${APP_DIR}/manage.py "$@"