stakevrun / db

GNU Affero General Public License v3.0
0 stars 0 forks source link

Update bnports path in act.js #18

Closed LookingForOwls closed 2 months ago

LookingForOwls commented 3 months ago

This line should be updated to reflect our deployment config which uses /usr/share/db, as a relative path or can be set by an ENV var.

https://github.com/stakevrun/db/blob/da548ddfdc393e18bf01f2acdff86a2799958114/act.js#L24

I believe that this is already relative but please review: https://github.com/stakevrun/db/blob/da548ddfdc393e18bf01f2acdff86a2799958114/act.js#L113

xrchz commented 3 months ago

So relative paths are fine since the config jsons will be placed in the same directory as the script .js files (which are the db repo clone)?

LookingForOwls commented 3 months ago

Yes the config json and bnports will be in the same folder as the JS unless you want it somewhere else like /mnt/crypt. I am fine with keeping them all in the same dir if you are.

LookingForOwls commented 2 months ago

This is complete and in use in our infra setup code.