Created start.sh to handle ExMachina outside of Plinth.

This commit is contained in:
Nick Daly 2012-11-11 12:25:11 -06:00
parent c129254e8a
commit 88225aa3ae
2 changed files with 17 additions and 11 deletions

20
INSTALL
View File

@ -11,18 +11,18 @@ Install the python-simplejson
apt-get install python-simplejson
Unzip and untar the source into a directory. Change to the directory
containing the program. Run:
containing the program. Run:
$ make
To start Plinth, run:
$ ./start.sh
$ make
$ ./plinth.py
and point your web browser at `localhost:8000`. The default username is "admin"
and the default password is "secret". To actually edit the configuration of
your local/dev machine, also run:
$ sudo ./exmachina/exmachina.py -v &
and the default password is "secret".
## Dependencies
@ -53,5 +53,3 @@ The documentation has some dependencies too.
Documentation has been collected into a pdf that can be built using
`make doc`. It also gets built into smaller files and other formats,
including one suitable for install as a man page.
<a name="installing_systemwide" />

8
start.sh Executable file
View File

@ -0,0 +1,8 @@
#! /bin/sh
PYTHONPATH=../exmachina:$PYTHONPATH
sudo killall exmachina.py
sudo ../exmachina/exmachina.py -v &
python plinth.py
sudo killall exmachina.py