diff --git a/README.md b/README.md index 02b8ec5d..049e84cf 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ This guide will help you to set up your local development environment. Before setting up conda-store-ui, you must prepare your environment. -We use [Docker Compose](https://docs.docker.com/compose/) to set up the infrastructure before starting ensure that you have docker-compose installed. If you need to install docker-compose, please see their [installation documentation](https://docs.docker.com/compose/install/) +We use [Docker Compose](https://docs.docker.com/compose/) to set up the infrastructure before starting ensure that you have Docker Compose installed. If you need to install Docker Compose, please see their [installation documentation](https://docs.docker.com/compose/install/) 1. Clone the [conda-store-ui](https://github.com/conda-incubator/conda-store-ui.git) repository. 2. Copy `.env.example` to `.env`. All default settings should work, but if you want to test against a different version of conda-store-server, you can specify if in the `.env` file by setting the `CONDA_STORE_SERVER_VERSION` variable to the desired version. Refer to the [Configuration documentation](https://conda-incubator.github.io/conda-store-ui/?path=/docs/docs-configuration--page) for more information on the `.env` file. diff --git a/docker-compose.yml b/docker-compose.yml index 50389f77..b5c926df 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: "3.8" - services: conda-store-worker: image: quansight/conda-store-server:${CONDA_STORE_SERVER_VERSION:-2024.3.1} diff --git a/package.json b/package.json index 8ec6b6a4..9a45752c 100644 --- a/package.json +++ b/package.json @@ -11,14 +11,14 @@ "build:watch": "tsc --build --watch", "clean": "rimraf coverage lib storybook-static types .env *.tsbuildinfo", "clean:slate": "yarn run clean && rimraf node_modules", - "clean:docker": "docker-compose down -v --remove-orphans", + "clean:docker": "docker compose down -v --remove-orphans", "eslint": "eslint . --ext .ts,.tsx --fix", "eslint:check": "eslint . --ext .ts,.tsx", "prepare": "yarnpkg run build && husky install", "prepublishOnly": "yarnpkg run clean && yarnpkg run webpack:prod", - "start:docker": "docker-compose --profile local-dev up --build", + "start:docker": "docker compose --profile local-dev up --build", "start": "yarn run start:services && yarn run start:ui", - "start:services": "docker-compose up -d", + "start:services": "docker compose up -d", "start:ui": "REACT_APP_VERSION=$npm_package_version webpack server --history-api-fallback", "start:chromium": "webpack serve --open 'chromium'", "start:prod": "NODE_ENV=production webpack serve",