Page MenuHomePhabricator

Prototype: streamline kartotherian build
Closed, ResolvedPublic2 Estimated Story Points

Description

The "lerna bootstrap" build can take 5 minutes or so. Our current containerization forces a full rebuild every time the source changes. Let's find an alternative which results in a single big build per developer's machine, and makes it possible to re-run the server quickly. The first iteration can be a manual down/up; a more refined approach would be something like nodemon, which restarts the server whenever a source file changes.

We think that lerna is simply running "npm install" for each directory.

Ideally, the docker-compose runtime would mount the top-level kartotherian source in the container.

Code: https://gitlab.com/wmde/wmde-technicalwishes-docker-dev/-/merge_requests/29

Event Timeline

lilients_WMDE set the point value for this task to 2.Wed, Oct 13, 1:05 PM