Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JW-Rami authored Oct 1, 2023
1 parent 4243b48 commit 1041c08
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions README.md
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} ``

0 comments on commit 1041c08

Please sign in to comment.