
system to create a working .deb, based on the makefile. Adds a new script to start up the web daemon. Adds a new script to test if the database is provisioned Adds a new script used by Puppet to provision the database Adds puppet manifests (mirrored in main puppet) Moves api/ to artifice/api Alters some of the relative imports Moves artifice.py to why_is_this_called_artifice.py, as it was causing import issues. Change-Id: Id8a909f7ffcc64a5c4e3281c6b5ba83cef73b596
14 lines
348 B
Bash
Executable File
14 lines
348 B
Bash
Executable File
#!/bin/bash
|
|
INSTALLED="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
ORIGIN=`pwd`
|
|
|
|
# Bring up our python environment
|
|
# Pass through all our command line opts as expected
|
|
|
|
# Move ourselves to the code directory
|
|
# TODO: Fix this by removing relative imports from Artifice
|
|
cd $INSTALLED
|
|
cd ../
|
|
|
|
$INSTALLED/../env/bin/python $INSTALLED/web.py $@
|