This is a Next.js project bootstrapped with create-next-app
.
- You need to use NodeJS v14 or higher.
- You need to use yarn.
- You need to have git.
- Click Star on this repo near the top-right corner of this web page (if you want to).
- Join us on Discord if you haven't already.
- Fork this repo by clicking Fork button in top-right corner of this web page. Continue to follow instruction steps from your own giveth-next repo.
- Clone your own "giveth-next" repo. Copy the link from the "Clone or download" button near the top right of this repo's home page.
- The rest of these steps must be done from your machine's command line
-
From the desired directory you wish to copy the "giveth-next" folder with source files to.
git clone {paste your own repo link here}
-
Change directories to giveth-next:
cd giveth-next
-
Make sure you have NodeJS (v14 or higher) and yarn installed.
-
Install dependencies from within giveth-next directory:
yarn install
-
cp
.env.example
.env.development.local
-
We filled the public data in config file, you should fill the
.env.development.local
with needed data (for example create account in infura to putNEXT_PUBLIC_ETHEREUM_NODE
) -
npm run dev
-
Open http://localhost:3000 with your browser to see the result.
PS: if you run your Backend locally and want to connect that you can change NEXT_PUBLIC_APOLLO_SERVER
value in .env.development.local
to http://localhost:4000/graphql