This is a mono repo for Compressed.fm Website.
- Node.js
- Clone the repo from GitHub
- Within the Terminal, open the nextjs folder. Run
yarn install
- Within the Terminal, open the sanity folder. Run
yarn install
You'll need to create a file called .env.local
and provide the following environmental variables:
AUTH0_BASE_URL=='*************'
AUTH0_ISSUER_BASE_URL='*************'
AUTH0_CLIENT_SECRET='*************'
AUTH0_CLIENT_ID='*************'
AUTH0_SECRET='*************'
NEXT_PUBLIC_BASE_URL='*************'
- Within one Terminal instance, navigate to the nextjs folder and run
yarn run dev
. - Within another Terminal instance, navigate to the sanity folder and run
yarn run dev
Everything should run seamlessly. 🙃
- The (frontend) site should be available locally at http://localhost:3000
- Sanity Studio (backend) should be available locally at http://localhost:3333