Setup an existing project
Work in Progress
What is it?
Section titled “What is it?”This doc is meant to install a project which is already in development/live. It will help you to start up the project on your local machine. Are you looking for the docs to create a new project?
Setup a new project
Set Up a New Project
Section titled “Set Up a New Project”- Navigate to GitHub and locate the project repository
- Clone the repository using SSH or GitHub CLI
- (New projects only) Obtain the
.env
file from 1Password and place it in the root directory. Normally named:{{ projectName }} - Local .env
- Execute
yarn setup
to install dependencies - Navigate to
apps/cms
and runyarn develop
, then in a separate terminal, navigate toapps/web
and runyarn dev
- You’re ready to start development!
Set Up an Existing Project
Section titled “Set Up an Existing Project”- Navigate to GitHub and locate the project repository
- Clone the repository using SSH or GitHub CLI
- (New projects only) Obtain the
.env
file from 1Password and place it in the root directory. Normally named:{{ projectName }} - Local .env
- Access Rootnet and search for the project using “CMS” in the name
- Copy the SSH connection details and open your terminal
- Connect via SSH, run
printenv
, and copy the database information - Configure your database client (TablePlus or equivalent) with the copied information
- Run
yarn prepare && yarn build:cms
to set up the project - Navigate to
apps/cms
and runyarn develop
, then in a separate terminal, navigate toapps/web
and runyarn dev