mirror of
https://github.com/pklaus/brother_ql_web.git
synced 2024-05-25 11:56:53 +03:00
README: requirements and installation instructions added
This commit is contained in:
parent
b32ca81b21
commit
97b4df915d
18
README.md
18
README.md
|
@ -6,7 +6,23 @@ It offers:
|
||||||
* an API at */api/print/text/Your_Text?font_size=100&font_family=Minion%20Pro&font_style=Semibold*
|
* an API at */api/print/text/Your_Text?font_size=100&font_family=Minion%20Pro&font_style=Semibold*
|
||||||
to print a label containing 'Your Text' with the specified font properties.
|
to print a label containing 'Your Text' with the specified font properties.
|
||||||
|
|
||||||
Here's its command line interface:
|
You need Python 3 for this software to work.
|
||||||
|
|
||||||
|
#### Installation
|
||||||
|
|
||||||
|
Get the code:
|
||||||
|
|
||||||
|
git clone https://github.com/pklaus/brother_ql_web.git
|
||||||
|
|
||||||
|
or download [the ZIP file](https://github.com/pklaus/brother_ql_web/archive/master.zip) and unpack it.
|
||||||
|
|
||||||
|
Install the requirements:
|
||||||
|
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
#### Usage
|
||||||
|
|
||||||
|
To start the server, run `./brother_ql_web.py`. Here's its command line interface:
|
||||||
|
|
||||||
usage: brother_ql_web.py [-h] [--port PORT] [--loglevel LOGLEVEL]
|
usage: brother_ql_web.py [-h] [--port PORT] [--loglevel LOGLEVEL]
|
||||||
[--font-folder FONT_FOLDER]
|
[--font-folder FONT_FOLDER]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user