git creds
ssh-keygen -t ed25519 -C
cat ~/.ssh/id_ed25519.pub
^ copy the output, login to inflorencers github and add it as a ssh key here
local git setup with 2 ssh hosts
to clone from freedom-guild, you will have to use your secondary work ssh key, to use both we will create a new host in ssh config
code ~/.ssh/config
# Personal Github account
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa
UseKeychain yes
# Work Github account
Host inflorencers
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519
UseKeychain yes
clone repo ( webapp / python )
git clone git@inflorencers:Freedom-Guild/endeva-monorepo.git
setting up submodules
git submodule update --init --recursive
git submodule sync --recursive
git submodule foreach "git pull origin main || :"
running monorepo
npm i -g turbo pnpm
envs
we have 3 .env files
- endeva-monorepo/.env
- will send privately
- endeva-monorepo/apps/endeva/.env
NEXTAUTH_URL=http://localhost:3000/api/auth
NEXT_PUBLIC_APP_URL=http://localhost:3000
- endeva-monorepo/apps/genie/.env
NODE_ENV=development
NEXTAUTH_URL=http://localhost:3001/api/auth
NEXT_PUBLIC_APP_URL=http://localhost:3001
running locally
- run docker with this image

pnpm installpnpm run dev
feature branches and PRs
we work on the basis of feature branches
you can create your own feature branch as such soulninja/twitter-client
git checkout -b [username]/[feature-name]
we dont have a specific syntax to follow for commits yet, just keep it minimal and understandable
always push to your feature branch first
then create a PR on staging
once reviewed and merged, it will be squashed and merged into main with other features
linear
Please update progress on linear regularly
and while creating the PR on staging, refer the Linear task the feature is linked to
eg:

ask any questions on signal :)
always there to help