A knitting calculator A punchcard generator
 
 
 
 
 
Go to file
Brenda f35a6b9d6a Fix pattern hole offset 2017-06-23 08:00:41 -04:00
bin added passap deco and reworked interface 2016-12-27 17:00:13 -05:00
handlers fixed logging 2017-03-04 10:56:46 -05:00
modules Fix pattern hole offset 2017-06-23 08:00:41 -04:00
templates reverted line endings 2017-03-04 09:59:12 -05:00
test added calibration feature 2017-03-04 08:47:23 -05:00
.gitignore ignore compiled modules 2016-07-17 13:16:20 -04:00
README.md Update README.md 2017-05-07 11:11:53 -04:00
__init__.py added xml prolog 2016-12-28 10:29:50 -05:00
logging.conf added passap deco and reworked interface 2016-12-27 17:00:13 -05:00
server.py added some debug logging 2017-03-04 10:43:41 -05:00

README.md

knittingtools

KnittingTools is a simple web app written in Python. It currently supports two main features:

  • A knitting calculator
  • A punchcard generator

Dependencies

  • Python 2.7.10
  • CairoSVG 1.0.22
  • svgwrite 1.1.8

Newer package versions may work, but have not been tested.

Installation

  • Clone this repo to a local directory.
  • If you are installing to a Linux platform that supports chkconfig, copy ./bin/knittingtools-chkconfig to the location appropriate for your Linux distribution (usually /etc/rc.d/init.d/knittingtools).
  • Edit the init script to reflect the appropriate locations for the lock file, python executable, server.py script and PID file. I recommend you create a Python virtual environment as a subdirectory of your local repo.

Running The Application

Start, stop or restart the server using the following commands:

sudo service knittingtools start

sudo service knittingtools stop

sudo service knittingtools restart

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.err respectively. The log configuration can be modified by editing logging.conf.