-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database details and credentials #3286
Comments
Thanks for opening this issue! A maintainer will review this in the next few days and explicitly select labels so you know what's going on. If no reviewer appears after a week, a reminder will be sent out. |
The If you want to develop something then you should follow and use what is shipped with core for the testing setup. If you want to deviate from that than you're on your own and have to make necessary changes. |
This issue has been closed. If you wish to re-open it please provide additional information. |
Configuring a database using
bash install.sh
or./bin/run database:configure
doesn't appear to add the details/credentials to the envfiles that are utilized by the node when running e.g.yarn full:testnet
.Furthermore,
setup.ts
for integration tests (https://github.com/ArkEcosystem/core/blob/develop/__tests__/integration/core-database-postgres/__support__/setup.ts) requires a specific database with specific user credentials to exist. If the db or user doesn't exist, the test fails.Currently I have to:
If I'm not missing a step with the generation or management of these databases (I create/manage them myself with pgadmin and manually configure the envfiles), then creation and management of databases could be easier.
Your Environment
The text was updated successfully, but these errors were encountered: