3
0

15 Commits

Author SHA1 Message Date
Tit Petric
5ad2b6af51 upd(sam): print route debug in main 2018-07-19 20:21:36 +02:00
Tit Petric
73c27f6bdd upd(sam main): pass flags in main, add ws routes 2018-07-19 20:21:18 +02:00
Tit Petric
4d67bd66b0 upd(flags): configure from main fn not flags.go 2018-07-19 20:20:43 +02:00
Tit Petric
80f9e9b9bc upd(all): use factory.Database.MustGet over .Get 2018-07-17 18:23:02 +02:00
Tit Petric
f450bdaba6 upd(main): keep go-spew sticky in vendor 2018-07-17 18:10:38 +02:00
Tit Petric
2b9903701a upd(main): restructure flags 2018-07-17 11:32:00 +02:00
Tit Petric
5a49d7f64f Merge branch 'master' of https://github.com/crusttech/crust 2018-07-17 11:10:55 +02:00
Tit Petric
5c6d05b9ff update(all): use namsral/flag in main 2018-07-17 11:09:06 +02:00
Denis Arh
43d11428fe Make CRM configurable through .env and part of realize config 2018-07-17 10:52:01 +02:00
Tit Petric
5aae6e9001 upd(all): move rest implementation into subpkg 2018-07-16 00:35:01 +02:00
Denis Arh
fca62c8f5f Add .env file reading capabilties and ability to config sam via env variables
For dsn & addr: explicit config via flag has priority over env variables. Final failsafe is hardcoded default values

Env variables:
 - SAM_DB_DSN
 - SAM_HTTP_ADDR
2018-07-12 17:36:54 +02:00
Tit Petric
2892ef818d configure actual sql connections as they should be 2018-07-05 11:17:02 +02:00
Tit Petric
9eeffef679 rename import paths 2018-07-05 10:44:14 +02:00
Tit Petric
a21de65eb4 import crm entry point 2018-07-01 01:46:37 +02:00
Tit Petric
5e617c76fb import main app, dep files 2018-06-03 20:27:00 +02:00