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