Unverified Commit ad74bfb1 by Vincent Martinez Committed by Paul B

WIP: add all the mess

parent 27c30b83
Pipeline #796 failed with stage
in 11 seconds
COUCHDB_USER=admin
COUCHDB_PASSWORD=123abc
POSTGRES_USER=foodcoops
POSTGRES_USER=lgds
POSTGRES_PASSWORD=foodcoops
POSTGRES_DB=foodcoops
POSTGRES_DB=lgds
......@@ -83,3 +83,53 @@ Lancer le serveur Web avec la commande `./launch.sh` (chmod u+x préalable si n
L'application sera accessible via http://127.0.0.1:34001/
L'adresse d'écoute et le numero de port peuvent être modifiés en les passant en paramètre de la commande `./launch.sh`, par exemple `./launch.sh 192.168.0.2 5678`
curl -X PUT http://admin:123abc@localhost:5984/_users
curl -X PUT http://admin:123abc@localhost:5984/_replicator
curl -X PUT http://admin:123abc@localhost:5984/_global_changes
1/ dump odoo
2/ Creer une base qui s'appelle coops
curl -X PUT http://admin:123abc@localhost:5984/coops
curl -X PUT http://admin:123abc@localhost:5984/inventory
curl -X PUT http://admin:123abc@localhost:5984/envelop
curl -X PUT http://admin:123abc@localhost:5984/shopping_carts
{
"_id": "_design/index",
"views": {
"by_fp": {
"map": "function (doc) { emit(doc.fingerprint); }"
},
"by_completed": {
"map": "function (doc) { emit(doc.completed); }"
},
"by_odoo_id": {
"map": "function (doc) { emit(doc.odoo_id); }"
}
}
}
{
"_id": "_design/index",
"views": {
"by_type": {
"map": "function (doc) { emit(doc.type); }"
}
}
}
set specific domain to http://127.0.0.1:8080 in couch
https://127.0.0.1:8069
https://127.0.0.1:8080/inventory/inventory/generate_inventory_list
https://127.0.0.1:8080/products/label_print
https://127.0.0.1:8080/products/labels_appli_csv
......@@ -91,4 +91,4 @@ BRINKS_MUST_IDENTIFY = True
ENTRANCE_FTOP_BUTTON_DISPLAY = False
CUSTOM_CSS_FILES = {'all': ['common_lgds.css'],
'members': ['inscription_lgds.css']}
'members': ['inscription_lgds.css','member_lgds.css']}
......@@ -30,8 +30,10 @@
- ADMINS = ['webmaster@coop.dom']
- TOOLS_SERVER = 'http://127.0.0.1:8080'
<!--- TOOLS_SERVER = 'https://outils.lacagette-coop.fr'-->
- TOOLS_SERVER = 'https://outils.lacagette-coop.fr'
Used for file generation (scale or print purpose)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment