-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} `` |