Carrot is a web3 protocol trying to make incentivization easier and more capital efficient.
A Next.js app bootstrapped with
create-next-app
for the Carrot landing page.
Start by installing the dependencies with yarn
:
yarn install
An env variable is required to start the landing page and it determines if the
landing page should run in dev mode or not. Create a .env.local
file at the
root of the repo and add the NEXT_PUBLIC_STAGING
env. You can set it to either
true or false to determine how the landing page will run.
Alternatively, just copy/paste and rename the .env.example
file at the root of
the project to .env.local
and give a value to the env variables there.
Once the env has been set up, you can start the dev server with:
yarn dev
Open http://localhost:3000 with your browser to see the result.
The app auto-updates as you edit the code.