feat: add support for lane_op
and lane_trans
DB sessions, models
This commit is contained in:
parent
bf6bf63e68
commit
e6921c8533
6 changed files with 158 additions and 2 deletions
|
@ -12,8 +12,7 @@ Install the Wutta-COREPOS package to your virtual environment:
|
|||
pip install Wutta-COREPOS
|
||||
|
||||
Edit your :term:`config file` to add CORE-POS DB connection info, and
|
||||
related settings. Note that so far, only CORE Office DB connections
|
||||
are supported.
|
||||
related settings.
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
|
@ -29,4 +28,14 @@ are supported.
|
|||
[corepos.db.office_arch]
|
||||
default.url = mysql+mysqlconnector://localhost/trans_archive
|
||||
|
||||
[corepos.db.lane_op]
|
||||
keys = 01, 02
|
||||
01.url = mysql+mysqlconnector://lane01/opdata
|
||||
02.url = mysql+mysqlconnector://lane02/opdata
|
||||
|
||||
[corepos.db.lane_trans]
|
||||
keys = 01, 02
|
||||
01.url = mysql+mysqlconnector://lane01/translog
|
||||
02.url = mysql+mysqlconnector://lane02/translog
|
||||
|
||||
And that's it, the CORE-POS integration is configured.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue