Skip to content
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

add notes to address joeys questions #41

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/hub/Guides/mint-page-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ Fork the repository https://github.com/holaplex/hub-starter-mint and give it a u

6. Click *Apply* to create the database and web service

Note: An additional variable `NEXTAUTH_SECRET` will be automatically populated when the Render blueprint is created. If you are running a legacy version of a starter app in Render, you may need to add this manually (a random string).

### Finish configuration

1. On the web service page, copy the deploy URL (e.g. https://mint-page.onrender.com)
Expand All @@ -109,4 +111,12 @@ Fork the repository https://github.com/holaplex/hub-starter-mint and give it a u

### View your mint page

Your mint page is now deployed and ready to use! The URL is available in Render, e.g. https://mint-page.onrender.com
Your mint page is now deployed and ready to use! The URL is available in Render, e.g. https://mint-page.onrender.com

### Troubleshooting

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

```