Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #10

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading