From 573a6e828a6052119befe8cb17d9b887d8488d9f Mon Sep 17 00:00:00 2001 From: Mackenzie Wildman Date: Mon, 19 Jun 2023 19:46:26 -0700 Subject: [PATCH 1/2] add notes to address joeys questions --- docs/hub/Guides/mint-page-deploy.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/hub/Guides/mint-page-deploy.md b/docs/hub/Guides/mint-page-deploy.md index bde9242..bb5b110 100644 --- a/docs/hub/Guides/mint-page-deploy.md +++ b/docs/hub/Guides/mint-page-deploy.md @@ -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) @@ -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 \ No newline at end of file +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 +``` \ No newline at end of file From c02610ef674b7b7d319d4e960ddc4304bfbc5e68 Mon Sep 17 00:00:00 2001 From: Mackenzie Wildman Date: Tue, 20 Jun 2023 06:43:22 -0700 Subject: [PATCH 2/2] fix instructions to reset db --- docs/hub/Guides/mint-page-deploy.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/hub/Guides/mint-page-deploy.md b/docs/hub/Guides/mint-page-deploy.md index bb5b110..e882ed1 100644 --- a/docs/hub/Guides/mint-page-deploy.md +++ b/docs/hub/Guides/mint-page-deploy.md @@ -115,8 +115,7 @@ Your mint page is now deployed and ready to use! The URL is available in Render, ### 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: +If you have encountered any errors in creating wallets and customers while deploying your app, you may need to clear and recreate the database: ``` npm run reset -npm run generate ``` \ No newline at end of file