Skip to content

Commit

Permalink
Merge pull request #10 from Ifechukwudaniel/Ifechukwudaniel-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Ifechukwudaniel authored Dec 21, 2023
2 parents 2700d1a + 443df6f commit 8d49cfe
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,21 @@ yarn deploy

This command deploys a test smart contract to the local network. The contract is located in `packages/hardhat/contracts` and can be modified to suit your needs. The `yarn deploy` command uses the deploy script located in `packages/hardhat/deploy` to deploy the contract to the network. You can also customize the deploy script.

4. On a third terminal, start your NextJS app:
4. Add Spotify Environment Variables:

To get NEXTAUTH_SECRET
To create a secret key, open your terminal, run the command below, and copy the value generated to the .env file.

``` openssl rand -base64 32 ```

```
SPOTIFY_CLIENT_SECRET=781ec8bfbbe3403d9c9acaa15699837b
SPOTIFY_CLIENT_ID=723bfc611600444395db4ba9f7fd7e48
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=koCNMnSVyhNobUJEYrQ0ffiZb47bsn8XNzy3DhkFBrU=
```

5. On a third terminal, start your NextJS app:

```
yarn start
Expand Down

0 comments on commit 8d49cfe

Please sign in to comment.