- Install dependencies with
yarn. - To add content, copy the folders (of the desired projects) from the content repository to the root. (optional)
- Run
yarn proxyfrom the root directory of the above repository. - Run dev server with
yarn dev.
- Install dependencies with
yarn. - Setup
.envfile withcp .env.sample .env.BASE_URLshould behttp://localhost:3000for local development.GITHUB_REPOshould be any personal repo outside oflidofinanceorg.GITHUB_BRANCHshould bemainor any other perfered branch of your repo.- To get
OAUTH_CLIENT_IDandOAUTH_CLIENT_SECRETyou 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.