Requirements:
- A recent version of Docker and Docker Compose
- cURL (
curl) - A few GB of free disk space
After cloning this repo or downloading the source files, you can start up the application with:
bin/start.shon macOS/Linux, and with
bin/start.batNote: The Windows start script is untested. The app should still run on Windows though (check Set Up if the start script does not work).
The code is available on Docker Hub with pre-built images for x86 and ARM. To run the app, you'll need the
docker-compose.prod.yaml file, as this sets up the containers and contains a Black Marble API token. Once you have
obtained the docker-compose.prod.yaml file, run:
docker compose -f docker-compose.prod.yaml up --pull=alwaysThis should start all the containers. Note that the API needs to download some data on first startup, which could take up to a few minutes. The app won't work before you see:
server Server started at http://0.0.0.0:8000
You can then access the web UI at http://localhost:3000.
You can run the latest production version of the application locally with Docker. Please
install it and make sure that the docker compose command is available.
Steps for full setup:
-
Clone the code or obtain source through other means
-
Inside of the source directory, you should run
git submodule update --init --recursive -
Then, depending on what you want to do, run one of:
docker compose -f docker-compose.prod.yaml up --build
for a production build based on the latest files, or
docker-compose up --build --watch
for a development instance with hot-reloading enabled.
-
For local development of the API and library, run
conda env create -f environment.yamland select the newly createdinfrared-marbleenvironment. -
For local development of the web frontend, cd into the
web/directory, and runnpm install.
For more details on project structure and how to continue developing this project, see CONTRIBUTING.md
Some notes on milestones, progress reports, and general project documentation can be found under Docs.
