Fixes and add label to tables

This commit is contained in:
2022-04-16 15:21:07 -05:00
parent 073cc9452e
commit 8b0ddff515
13 changed files with 76 additions and 38 deletions
+1
View File
@@ -72,6 +72,7 @@ class InMemoryQCounter
#couch_settings = YAML.load_file(couch_settings_path)[environment]
couch_settings = YAML.safe_load(ERB.new(File.read(couch_settings_path)).result, [Symbol], [], ['default'])[environment]
database = couch_settings['database'].sub 'localhost', 'host.docker.internal'
#database = couch_settings['database']
#database = couch_settings['database'].sub 'localhost', '172.17.0.1'
db = CouchRest.database(database) # for debug: db = CouchPotato.database.couchrest_database
design_doc = "_design/order_counter"