Follow

Local Development on Mana

homu
homu
Get a running start with mana!
listTable of Contents

Initial Setup

  1. Fork the mana/core repo
  2. On Github, Click [Code] and Open with Github Desktop
  3. In VS Code, copy `.env.local` as `.env` and fill in the env variables.
  4. Start local development with `yarn; yarn dev`.

Deployment

  1. In VS Code, test the build locally first with `yarn; yarn build; yarn start`.
  2. Go to your Github repo > Settings tab > Secret and Variables > Actions.
  3. Fill in `FLY_API_TOKEN` from https://fly.io/user/personal_access_tokens.
  4. Fill in `APP_NAME` for your mana app.
  5. In VS Code, login to Fly `fly auth login`
  6. In VS Code, type in Fly `fly launch`
  7. Copy your local secrets to Fly by typing in `cat .env | fly secrets import`
  8. Go to your Github repo > Actions tab and enable Workflows, click [I understand my workflows, go ahead and enable them]
  9. We only want [Fly Deploy - App] workflow enabled.
  10. Disable the remaining workflows by clicking [...] and click Disable Workflow.
message-circle
5
Latest
Avatar
homu
May 22, 4:09 PM

test

1
Avatar
homu
May 22, 4:09 PM

test

0
Avatar
homu
May 22, 4:17 PM

test

0
user
dro
May 24, 1:33 AM

sdfdfs

0
Avatar
homu
Jun 25, 3:44 PM

test

0
2844
Followers
3
Posts
4
Entries
Site Banner
Mana HQ
Updates from the Mana core team
Contributors
Join