From 3b3b1a37bb96859772f5e85c6c2473f2eeff7ef0 Mon Sep 17 00:00:00 2001 From: Julian Martinez Date: Wed, 8 Nov 2023 15:10:36 -0800 Subject: [PATCH] update copy for production deployment --- dapps/dapp-challenges/challenge-0-crowdfund.mdx | 4 ++-- dapps/dapp-challenges/challenge-1-payment.mdx | 14 +++++++++----- .../dapp-challenges/challenge-2-liquidity-pool.mdx | 5 ++--- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/dapps/dapp-challenges/challenge-0-crowdfund.mdx b/dapps/dapp-challenges/challenge-0-crowdfund.mdx index e402c7f6..35c81323 100644 --- a/dapps/dapp-challenges/challenge-0-crowdfund.mdx +++ b/dapps/dapp-challenges/challenge-0-crowdfund.mdx @@ -226,9 +226,9 @@ rm -rf target >Note: You can build this directory again by running `soroban contract build` in the `contracts/abundance` directory. -Next, remove any linked vercel projects by running the following command: +Then, remove any existing `.vercel` directory in your project to ensure that you are starting with a clean slate: -```sh +```bash rm -rf .vercel ``` diff --git a/dapps/dapp-challenges/challenge-1-payment.mdx b/dapps/dapp-challenges/challenge-1-payment.mdx index 3cd46b89..2dfa8ebc 100644 --- a/dapps/dapp-challenges/challenge-1-payment.mdx +++ b/dapps/dapp-challenges/challenge-1-payment.mdx @@ -296,6 +296,12 @@ First install the Vercel cli: npm i --global vercel ``` +Then, remove any existing `.vercel` directory in your project to ensure that you are starting with a clean slate: + +```bash +rm -rf .vercel +``` + Next, you will need to create a new project on vercel. To do this, run the following command: ```bash @@ -383,10 +389,8 @@ Using the `--prebuilt` flag tells Vercel to deploy the the build outputs in `.ve Once the deployment is complete, you should see something similar to the following output: ```bash -🔍 Inspect: https://vercel.com/julian-dev28/pmt-dapp/5janJtPxvFRNiuLSZd8LhZ7zM5Em [1s] -✅ Preview: https://soroban-react-payment-78q2o5jlf-julian-dev28.vercel.app [1s] -📝 Deployed to production. Run `vercel --prod` to overwrite later (https://vercel.link/2F). -💡 To change the domain or build command, go to https://vercel.com/julian-dev28/pmt-dapp/settings +🔍 Inspect: https://vercel.com/julian-dev28/soroban-react-payment/9PwV2DvuXJ3FWag7eLbjqNAhCeCu [2s] +✅ Production: https://soroban-react-payment-ahtko9qd1-julian-dev28.vercel.app [2s] ``` You can now visit the preview link to see your deployed dapp! 🎉 @@ -397,7 +401,7 @@ Remember, you must add Futurenet network lumens to your Freighter wallet to inte Now it's time to submit your work! -Submit your `Preview` URL from the previous step into the challenge form to pass the challenge! +Submit your `Production` URL from the previous step into the challenge form to pass the challenge! diff --git a/dapps/dapp-challenges/challenge-2-liquidity-pool.mdx b/dapps/dapp-challenges/challenge-2-liquidity-pool.mdx index 9772e456..ad5fe2a5 100644 --- a/dapps/dapp-challenges/challenge-2-liquidity-pool.mdx +++ b/dapps/dapp-challenges/challenge-2-liquidity-pool.mdx @@ -333,12 +333,11 @@ First, install the Vercel CLI: npm i --global vercel ``` -Next, remove any linked vercel projects by running the following command: +Then, remove any existing `.vercel` directory in your project to ensure that you are starting with a clean slate: -```sh +```bash rm -rf .vercel ``` - Then, run the following command to deploy your example dapp: ```bash