Installing the GIVeconomy Front-End
You can find the Github repository containing the GIVeconomy front-end at https://github.com/Giveth/liquidity-mining-dapp.
This is a Next.js project bootstrapped with create-next-app
.
Prerequisites
- Yarn
- npm
- your own Infura nodes for Kovan Network and Gnosis Chain (formerly xDai Network)
- your favourite code editor (We recommend VSCode)
Getting Started
First you'll need to get a local copy on your machine. Clone the repository from github on your computer.
git clone git@github.com:Giveth/liquidity-mining-dapp.git
Environment Variables
copy .env.example
to .env.local
and set the values to your Infura nodes as well as your API key
Then to run the development server locally:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result. Open up your code editor and you're ready to start!
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.