lanl / 4DGB

4D Genome Browser project
1 stars 2 forks source link

Finish setting center-of-rotation feature. Implement a Docker Container to build/server project #88

Closed camtauxe closed 2 years ago

camtauxe commented 2 years ago

This PR finishes up my earlier work on issue #82 and fixes issue #87. More importantly, there is an initial implementation of our next major feature: A Docker "standalone app" that can build and serve projects for a user. This is kinda like issue #84, although our recent meetings have changed the scope of it somewhat. I've copied the commit message for this change below:

This is the first crack at creating an easy-to-use "app" that can build and run a browser instance just from project input data. It's not fool-proof yet, but it's a strong foundation.

To run it:

This will "import" the test.01 project, and spin up an instance of the browser on port 8000.

The important thing here is that, if this Docker image is built and (eventually) published on DockerHub, users won't even need this repository to browser their projects. They would only need to assemble their project in a directory, then run docker-compose (which can be wrapped in a simple script later).

You can try a bit of this now by moving to a totally different directory after building the image, copying the 'projects/' directory into your new directory, then running the docker-compose command.

EDIT: Added a commit fixing issue #87