Skip to content

Commit

Permalink
Add note about Docker running.
Browse files Browse the repository at this point in the history
  • Loading branch information
ekharkunov committed Sep 12, 2024
1 parent f1f03e2 commit 939d00b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions docs/en/manuals/extender-local-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,17 @@ There are two variants how to run local build server (aka 'Extender'):
```sh
gcloud auth configure-docker europe-west1-docker.pkg.dev
```
3. Check that everything set up correctly by pulling base image. Run
3. Check that Docker is running.
4. Check that everything set up correctly by pulling base image. Run
```sh
docker pull --platform linux/amd64 europe-west1-docker.pkg.dev/extender-426409/extender-public-registry/extender-base-env:latest
```
4. Clone `Extender` repository and switch to cloned repository root folder
5. Clone `Extender` repository and switch to cloned repository root folder
```sh
git clone https://github.com/defold/extender.git
cd extender
```
5. Download prebuilt jars:
6. Download prebuilt jars:
```sh
TMP_DIR=$(pwd)/server/_tmp
APPLICATION_DIR=$(pwd)/server/app
Expand Down Expand Up @@ -66,7 +67,7 @@ There are two variants how to run local build server (aka 'Extender'):
cp ${TMP_DIR}/$(ls ${TMP_DIR} | grep server-${EXTENDER_VERSION}.jar) ${APPLICATION_DIR}/extender.jar
cp ${TMP_DIR}/$(ls ${TMP_DIR} | grep manifestmergetool-${MANIFESTMERGETOOL_VERSION}.jar) ${APPLICATION_DIR}/manifestmergetool.jar
```
6. Run docker compose:
7. Run docker compose:
main command
```sh
docker compose -p extender -f server/docker/docker-compose.yml --profile <profile> up
Expand Down
9 changes: 5 additions & 4 deletions docs/ru/manuals/extender-local-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,17 @@ brief: Руководство описывает как установить и
```sh
gcloud auth configure-docker europe-west1-docker.pkg.dev
```
3. Проверяем, что все сконфигурировано корректно путем скачивания базового образа. Запустите
3. Проверить, что Docker запущен.
4. Проверяем, что все сконфигурировано корректно путем скачивания базового образа. Запустите
```sh
docker pull --platform linux/amd64 europe-west1-docker.pkg.dev/extender-426409/extender-public-registry/extender-base-env:latest
```
4. Клонируем репозиторий `Extender` и переходим в корневую директорию склонированного репозитория
5. Клонируем репозиторий `Extender` и переходим в корневую директорию склонированного репозитория
```sh
git clone https://github.com/defold/extender.git
cd extender/
```
5. Скачиваем готовые jar файлы:
6. Скачиваем готовые jar файлы:
```sh
TMP_DIR=$(pwd)/server/_tmp
APPLICATION_DIR=$(pwd)/server/app
Expand Down Expand Up @@ -65,7 +66,7 @@ brief: Руководство описывает как установить и
cp ${TMP_DIR}/$(ls ${TMP_DIR} | grep server-${EXTENDER_VERSION}.jar) ${APPLICATION_DIR}/extender.jar
cp ${TMP_DIR}/$(ls ${TMP_DIR} | grep manifestmergetool-${MANIFESTMERGETOOL_VERSION}.jar) ${APPLICATION_DIR}/manifestmergetool.jar
```
6. Запускаем docker compose
7. Запускаем docker compose
главная команда
```sh
docker compose -p extender -f server/docker/docker-compose.yml --profile <profile> up
Expand Down

0 comments on commit 939d00b

Please sign in to comment.