Skip to content

lidofinance/lido-cms

Folders and files

NameName
Last commit message
Last commit date
Mar 15, 2024
Feb 18, 2025
Dec 3, 2024
Apr 27, 2023
Apr 27, 2023
Mar 29, 2023
Oct 24, 2024
Feb 6, 2025
Apr 4, 2023
Sep 4, 2023
Apr 27, 2023
Mar 29, 2023
Apr 4, 2023
Apr 27, 2023
Jan 31, 2024
Mar 29, 2023
Jan 31, 2024

Repository files navigation

CMS

Local development (files are saved locally)

  • 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.

Local development (files are saved on github)

  • Install dependencies with yarn.
  • Setup .env file with cp .env.sample .env.
    • BASE_URL should be http://localhost:3000 for local development.
    • GITHUB_REPO should be any personal repo outside of lidofinance org.
    • GITHUB_BRANCH should be main or any other perfered branch of your repo.
    • To get OAUTH_CLIENT_ID and OAUTH_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.