@onereach/idw-init-account-resources
v0.11.4
Published
Creation of required resources in OneReach account to enable IDW
Downloads
1,547
Readme
Init Account Resources
This package is designed to create resources that are required for IDW to run in OneReach account (e.g. Lookup collections, etc.)
Initialization of DB
Using migrations
Any changes to RDB should be implemented via creating additional database migrations.
Do not change existing migrations since it will cause problems with their validation for every account that already has had them.
For more details on writing migrations see Postgrator documentation.
Local development
To run init function locally run:
pnpm local
You will need to authenticate and choose OneReach account for running init for.
Init of RDB locally
To run local init of RDB you need to connect to OneReach VPN first, otherwise script won't be able to connect to AWS RDS for running migrations.
Choosing different PDE
By default system will use development/staging
PDE.
To change this behavior pass CLIENT
and ENV
environment variables:
CLIENT="multitenant" ENV="edison" pnpm local