feat(dx): add nix environment #52

Open
opened 2026-01-07 07:44:39 +00:00 by chartgerink · 0 comments
Owner

In order to standardize the development environment, it would help to have a shell.nix file to specify all the required instruments. We already use this in the api to set up the development environment with MySQL, S3, and the likes.

In the nix environment for the frontend, we need the following (list not yet vetted):

  • Hocuspocus YJS server (for example, npx @hocuspocus/cli --port 1234)
  • Setting the relevant environment variables as is needed (for example, PUBLIC_API_BASE)
In order to standardize the development environment, it would help to have a `shell.nix` file to specify all the required instruments. We already use this in the [`api`](https://git.libscie.org/researchequals/api) to set up the development environment with MySQL, S3, and the likes. In the nix environment for the frontend, we need the following (list not yet vetted): - [ ] Hocuspocus YJS server (for example, `npx @hocuspocus/cli --port 1234`) - [ ] Setting the relevant environment variables as is needed (for example, `PUBLIC_API_BASE`)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
researchequals/frontend#52
No description provided.