Skip to content

Conversation

@mackenziewildman
Copy link
Contributor

No description provided.

Copy link
Contributor

@kespinola kespinola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

notes on the db setup.

Comment on lines 118 to 121
If you have encountered any errors in creating wallets and customers while deploying your app, you may need to dump the database and restart:
```
npm run reset
npm run generate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to have notes on the reset to clear and recreate the db but npm run generate should be added as a must do step. Once environment is up go to shell and run npm run db.

Remove npm run generate that is only for development and just running npm reset will delete the database, re-create it and re-run migrations.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the info!! making sure i understand - we've got npm run db in the instructions, under "Set up the database". and i updated the reset instructions to include only npm run reset and not npm run generate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants