Secure digital helpdesk platform
Find a file
2023-08-09 10:02:18 +00:00
.vscode Develop 2023-07-18 12:26:57 +00:00
apps metamigo-cli no longer starts the worker or the api 2023-08-09 09:31:09 +00:00
docker Develop 2023-07-18 12:26:57 +00:00
packages Develop 2023-07-18 12:26:57 +00:00
scripts Dockerfile updates 2023-05-26 12:02:55 +00:00
signald-state metamigo-api: runs in docker now 2023-06-02 15:26:30 +00:00
.devcontainer.json Update devcontainer.json 2023-06-21 14:43:13 +00:00
.dockerignore metamigo-frontend: build and run in docker 2023-06-06 07:10:28 +00:00
.editorconfig Align node and npm versions to fix overrides 2023-06-07 10:25:53 +00:00
.gitignore Docker Compose refactoring 2023-06-21 12:48:07 +00:00
.gitlab-ci.yml Develop 2023-07-18 12:26:57 +00:00
.gitpod.dockerfile add gitpod.yml 2023-06-02 09:11:49 +00:00
.gitpod.yml gitpod: run npm install on init 2023-06-06 07:11:06 +00:00
.nvmrc Align node and npm versions to fix overrides 2023-06-07 10:25:53 +00:00
docker-compose.leafcutter.yml Docker Compose refactoring 2023-06-21 12:48:07 +00:00
docker-compose.link.yml Develop 2023-07-18 12:26:57 +00:00
docker-compose.metamigo-postgresql.yml docker-compose: move signdald to different docker-compose 2023-08-09 09:31:53 +00:00
docker-compose.metamigo.yml docker-compose: move signdald to different docker-compose 2023-08-09 09:31:53 +00:00
docker-compose.nginx-proxy.yml Docker Compose refactoring 2023-06-21 12:48:07 +00:00
docker-compose.opensearch.yml Docker Compose refactoring 2023-06-21 12:48:07 +00:00
docker-compose.zammad.yml Develop 2023-07-18 12:26:57 +00:00
LICENSE.md Begin addon reorganization 2023-05-03 10:36:37 +00:00
Makefile Docker Compose refactoring 2023-06-21 12:48:07 +00:00
package-lock.json Develop 2023-07-18 12:26:57 +00:00
package.json Develop 2023-07-18 12:26:57 +00:00
README.md Update readme with TODOs 2023-08-09 10:02:18 +00:00
turbo.json npm run dev:metamigo now builds+watches all metamigo things!! 2023-06-07 08:24:13 +00:00

Dev Setup

NOTE: When using Gitpod/Codespaces, use at least 16GB RAM

Local dev with docker-compose

  • Create link-stack/.env from Bitwarden .env for root of 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/.env from Bitwarden .env for root of link-stack
  • Build locally for development:
    npm install
    npm run docker:metamigo:dev:up # start supporting containers for metamigo
    npm run build                  # compile the apps
    npm run migrate                # this migrates the db
    npm run dev:metamigo           # this runs metamigo frontend, api, and worker
    

TODO

Notes from abel regarding metamigo. these are in priority order (high priority first)

  • Do not upgrade: postgraphile, graphql and other postgres dependencies until postgrahile supports a newer grapqhl version
  • Fix the proxying from metamigo-frontend to metamigo-api, this broke during the next.js pages/api -> app/api/*route.js change.
    • or consider removing the proxy and having the frontend talk directly to the backend, though this may be more work.
  • Upgrade metamigo-frontend react-admin components
  • Get metamigo-worker working
    • the package.json entry points need to be fixed to be like metamigo-api
    • the worker needs a main.ts file like metamigo-api that starts the worker (without the api) await startWithout(["server"]);
    • while you're at it, I recomnmend moving all source files into a src to be consistent with the other metamigo projects
  • Migrate off mui/styles
  • Delete old JWT config options stuff in packages/metamigo-config
    • the JWT is no longer used bdad5f551c and 24d52eef3d
    • so all of the config related to the JWT can be removed: signingkey (and b64 one), encryption key (and b64 one), audience
  • Consolidate config.. this is basically done. The idea is to not need a config js file, everything can be populated from a root level .env file. This is already done, I have been developing like this for awhile, but I notice in your .env file on bitwarden you're still using the config file.