- Install dependencies with
yarn
. - To add content, copy the folders (of the desired projects) from the content repository to the root. (optional)
- Run
yarn proxy
from the root directory of the above repository. - Run dev server with
yarn dev
.
- Install dependencies with
yarn
. - Setup
.env
file withcp .env.sample .env
.BASE_URL
should behttp://localhost:3000
for local development.GITHUB_REPO
should be any personal repo outside oflidofinance
org.GITHUB_BRANCH
should bemain
or any other perfered branch of your repo.- To get
OAUTH_CLIENT_ID
andOAUTH_CLIENT_SECRET
you need to create GitHub App.- Visit https://github.com/settings/apps.
- Create a new GitHub App.
- During creation process, provide it with Read and Write permissions for Content and Pull Requests.
- Install it to your personal repo (one of the tabs on the left).
- Copy ClientID and ClientSecret and paste into .env file (on the first tab).
- Run dev server with
yarn dev
.