diff --git a/INSTALL b/INSTALL index 9108689e2..e5761a149 100644 --- a/INSTALL +++ b/INSTALL @@ -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. - - diff --git a/start.sh b/start.sh new file mode 100755 index 000000000..01bc36e57 --- /dev/null +++ b/start.sh @@ -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