kopia lustrzana https://github.com/brendabell/knittingtools
Update README.md
rodzic
b178b89aaa
commit
a6d0c6bcbd
10
README.md
10
README.md
|
@ -8,12 +8,13 @@ KnittingTools is a simple web app written in Python. It currently supports two m
|
|||
* CairoSVG 1.0.22
|
||||
* svgwrite 1.1.8
|
||||
|
||||
To run the server:
|
||||
|
||||
## Installation
|
||||
* Clone this repo
|
||||
* If you are installing to a Linux platform that supports chkconfig, copy `./bin/knittingtools-chkconfig` to the location appropriate for your flavor of Linux (usually /etc/rc.d/init.d).
|
||||
* Edit the init script to reflect the appropriate locations for the lock file, python executable, server.py script and PID file. Note that the app has only been tested using the supplied virtual environment.
|
||||
* Start, stop or restart the server using the following commands:
|
||||
|
||||
## Running The Application
|
||||
Start, stop or restart the server using the following commands:
|
||||
|
||||
`sudo service knittingtools start`
|
||||
|
||||
|
@ -21,8 +22,9 @@ To run the server:
|
|||
|
||||
`sudo service knittingtools restart`
|
||||
|
||||
* Use the following command to determine the server's current status:
|
||||
Use the following command to determine the server's current status:
|
||||
|
||||
`sudo service knittingtools status`
|
||||
|
||||
## Logging
|
||||
Access and error logs are written to `/var/log/knittingtools.log` and `/var/log/knittingtools.log` respectively. The log configuration can be modified by editing `logging.conf`.
|
||||
|
|
Ładowanie…
Reference in New Issue