From 1041c08150071b48361c94cfad17c6c0dffc0e7c Mon Sep 17 00:00:00 2001 From: JW Rami <106039941+JW-Rami@users.noreply.github.com> Date: Sun, 1 Oct 2023 04:35:28 +0200 Subject: [PATCH] Update README.md --- README.md | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d8cf417d..4c01fab8 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,38 @@ # Sofan -NFT social media & marketplace to connect athletes and fans +NFT social media & marketplace to connect athletes and fans # Pour passer de mainnet à testnet: ## .env à changer: + - REACT_APP_BLOCKCHAIN changer la string de "mainnet" à "goerli" - changer infura de "mainnet" à "goerli" (ex: mainnet.infura.io/v3/cléAPI) ## Pour build: -- vers staging ``npm run build:staging`` -- vers master ``npm run build:master`` + +- vers staging `npm run build:staging` +- vers master `npm run build:master` ## Pour deploy: -- vers staging ``firebase deploy --only hosting:staging-sofan-app --project sofan-app`` -- vers master ``firebase deploy --only hosting:sofan-app --project sofan-app`` -- + +### sur staging + +- mettre la commande `firebase deploy --only hosting:staging-sofan-app --project sofan-app` +- dans `firebase.json` changer `"site":"sofan-app"` par `"site":"staging-sofan-app"` + +### sur master + +- mettre la commande `firebase deploy --only hosting:sofan-app --project sofan-app` +- dans `firebase.json` changer `"site":"staging-sofan-app"` par `"site":"sofan-app"` + # Mineur à changer: ## FullPagePost.js à changer: -- ``navigator.clipboard.writeText( - `https://staging.sofan.app/athleteprofile/${userId}`)`` et ``navigator.clipboard.writeText( - `https://staging.sofan.app/userprofile/${userId}`` - ) par ``navigator.clipboard.writeText( - `https://sofan.app/athleteprofile/${userId}`)`` et ``navigator.clipboard.writeText( - `https://sofan.app/userprofile/${userId}`` - +- `` navigator.clipboard.writeText( + `https://staging.sofan.app/athleteprofile/${userId}`) `` et `` navigator.clipboard.writeText( + `https://staging.sofan.app/userprofile/${userId} `` + ) par `` navigator.clipboard.writeText( + `https://sofan.app/athleteprofile/${userId}`) `` et `` navigator.clipboard.writeText( + `https://sofan.app/userprofile/${userId} ``