Create the .env
file in the root of the project with the following variables set to whatever:
DISCORD_INVITE_LINK
TWITCH_ACCESS_TOKEN
TWITCH_CLIENT_ID
TWITTER_ACCESS_TOKEN
The Netlify CLI starts your app in development mode, rebuilding assets on file changes.
npm run dev
Open up http://localhost:3000, and you should be ready to go!
There are two ways to deploy your app to Netlify, you can either link your app to your git repo and have it auto deploy changes to Netlify, or you can deploy your app manually. If you've followed the setup instructions already, all you need to do is run this:
npm run build
# preview deployment
netlify deploy
# production deployment
netlify deploy --prod