Add basic LOC SMS support for theo-server machine

This commit is contained in:
Lance Edgar 2020-09-23 15:07:21 -05:00
parent 1b227a8d32
commit 6b88090587
12 changed files with 168 additions and 3 deletions

View file

@ -29,6 +29,7 @@ env.timezone = 'America/Chicago'
env.theo_integrates_with = None
#env.theo_integrates_with = 'corepos'
#env.theo_integrates_with = 'catapult'
#env.theo_integrates_with = 'locsms'
# default admin user credentials for Theo web app
env.theo_admin_username = 'username'
@ -91,3 +92,33 @@ env.catapult_host = 'INSTANCE.catapultweboffice.com'
# these credentials are used to access the ODBC DSN for ECRS Catapult
env.catapult_odbc_username = 'username'
env.catapult_odbc_password = 'password'
##############################
# LOC SMS
##############################
# this is the hostname (or IP) for your SMS store server
env.locsms_store_server = 'locsms-server.example.com'
# this is your SMS SQL Server "instance" name, if applicable
env.locsms_store_sqlinstance = None
#env.locsms_store_sqlinstance = 'SQLEXPRESS'
# this is your SMS DB name
env.locsms_store_dbname = 'STORESQL'
# these credentials are used to access the ODBC DSN for LOC SMS
env.locsms_odbc_username = 'username'
env.locsms_odbc_password = 'password'
# which ODBC driver to use? note that 'mssql' is generally recommended where
# possible, however is not selected by default b/c it is not open source, and
# can be trickier to get working in some situations
# https://docs.sqlalchemy.org/en/13/dialects/mssql.html#driver-unicode-support
# cf. also this issue at https://github.com/microsoft/msphpsql/issues/1112
env.locsms_odbc_driver = 'freetds'
#env.locsms_odbc_driver = 'mssql'
# if using the 'mssql' driver, you must also accept its EULA
env.mssql_driver_accept_eula = False