This is a Next.js project bootstrapped with create-next-app
.
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 put NEXT_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