link-stack/README.md

37 lines
1.1 KiB
Markdown
Raw Normal View History

2023-06-02 08:33:37 +00:00
# Dev Setup
2023-06-02 10:38:45 +00:00
> NOTE: When using Gitpod/Codespaces, use at least 16GB RAM
2023-06-02 10:23:41 +00:00
2023-06-02 10:38:45 +00:00
Local dev with docker-compose
2023-06-02 08:33:37 +00:00
2024-04-21 09:44:30 +02:00
- Create `link-stack/.env` from Bitwarden `.env for root of link-stack`
- Run local dev with docker-compose:
2023-06-02 10:38:45 +00:00
```
git clone ...
cd link-stack
make start-dev
```
Or for local dev of a single app
2023-06-02 10:23:41 +00:00
2024-04-21 09:44:30 +02:00
- Create `link-stack/apps/link/.env.local` from Bitwarden `.env.local for link-stack/apps/link`
- Create `link-stack/apps/bridge-frontend/.bridge.local.json` from Bitwarden `.bridge.local.json for link-stack/apps/bridge/frontend`
- Build locally for development:
2023-06-02 10:38:45 +00:00
```
npm install
2024-04-21 09:44:30 +02:00
make dev-bridge # this starts the containers
2023-06-07 12:32:27 +00:00
npm run migrate # this migrates the db
2024-04-21 09:44:30 +02:00
npm run dev:bridge # this runs bridge frontend and api
2023-06-02 10:38:45 +00:00
```
2023-06-02 10:23:41 +00:00
2023-06-07 12:32:27 +00:00
# TODO
2023-03-10 10:54:14 +00:00
2023-06-07 12:32:27 +00:00
- [ ] Delete old JWT config stuff
- [ ] Consolidate config
2024-04-21 09:44:30 +02:00
- [ ] Complete react-admin upgrade.. make all the bridge-frontend stuff work
- https://marmelab.com/react-admin/Upgrade.html#no-more-prop-injection-in-page-components
- [ ] Get bridge-worker working
2023-06-07 12:32:27 +00:00
- [ ] Migrate off mui/styles
2024-04-21 09:44:30 +02:00
- https://mui.com/material-ui/migration/v5-style-changes/
- the codemods might help us?