update readme
This commit is contained in:
parent
2c5791eb93
commit
00f6ede557
1 changed files with 18 additions and 13 deletions
23
README.md
23
README.md
|
|
@ -1,23 +1,28 @@
|
||||||
# Dev Setup
|
# Dev Setup
|
||||||
|
|
||||||
Gitpod/Codespaces note: Use at least 16GB RAM.
|
> NOTE: When using Gitpod/Codespaces, use at least 16GB RAM
|
||||||
|
|
||||||
|
Local dev with docker-compose
|
||||||
|
|
||||||
|
* Create `link-stack/.env` from Bitwarden `root .env for link-stack`
|
||||||
|
* Run local dev with docker-compose:
|
||||||
```
|
```
|
||||||
git clone ...
|
git clone ...
|
||||||
cd link-stack
|
cd link-stack
|
||||||
cd docker/zammad
|
make start-dev
|
||||||
make build
|
|
||||||
cd ../../
|
|
||||||
npm install
|
|
||||||
turbo build
|
|
||||||
turbo dev
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Prepare env secrets
|
Or for local dev of a single app
|
||||||
|
|
||||||
* Create `link-stack/apps/link/.env.local` from Bitwarden `.env.local for link-stack/apps/link`
|
* Create `link-stack/apps/link/.env.local` from Bitwarden `.env.local for link-stack/apps/link`
|
||||||
* Create `link-stack/apps/metamigo-frontend/.metamigo.local.json` from Bitwarden `.metamigo.local.json for link-stack/apps/metamigo/frontend`
|
* Create `link-stack/apps/metamigo-frontend/.metamigo.local.json` from Bitwarden `.metamigo.local.json for link-stack/apps/metamigo/frontend`
|
||||||
* Create `link-stack/.env` from Bitwarden `root .env for link-stack`
|
* Build locally for development:
|
||||||
|
```
|
||||||
|
make build
|
||||||
|
npm install
|
||||||
|
turbo --concurrency 30 build
|
||||||
|
turbo --concurrency 30 dev
|
||||||
|
```
|
||||||
|
|
||||||
# Notes
|
# Notes
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue