Skip to content
xanxer6rB edited this page Aug 17, 2024 · 15 revisions

Directions here to use a docker container to play Forge:

FORGE-DESKTOP-SNAPSHOT

First clone dockerized-forge-desktop-SNAPSHOT or download as a zip and extract it in a chosen location

To create the image run:

  • bash build_image_start_container.sh and select number 1 to build image from Dockerfile.

To start container run:

  • bash build_image_start_container.sh and select number 2 to spin up a container or 3 to run container in detached mode.

To Access container

After the container is running, access container at YOUR-IP:3002, localhost:3002 in your web browser. After accessing the container in your browser run one of the following commands:

using sudo run:
  - bash setup_forge_desktop.sh

To play forge-desktop-SNAPSHOT or forge-adventure mode run:

 - bash forge_game_selector.sh

FORGE DEV ENVIRONMENT

To run a containerized forge development environment you can clone or download the zip from:

git clone https://github.com/xanxer6rB/forge-dev-env-full.git

First you will need to download intellij-ce from their website and store it in the same folder as the Dockerfile.

To build docker image run:

  - bash build_image_start_container.sh

Options are: 1 Build from Dockerfile ONLY 2 Run container and remove container after exit 3 Run container in detached mode. Will retain data after exit choose: 1

Once image is built run again

  - bash build_image_start_container.sh 

Options are: 1 Build from Dockerfile ONLY 2 Run container and remove container after exit 3 Run container in detached mode. Will retain data after exit choose: 3 (for persistance)

Access container from your browser at:

  • localhost:3003

Once inside the container run command (with sudo) to finish setup:

  - bash intellij-ce_mse_tiled_setup.sh

Once everything is installed run

  - bash app_selector.sh

Options are: 1 intellij-ce 2 MagiceSetEditor2 3 Tiled - Map MagiceSetEditor2 choose:

TODO: figure out a way to set up intellij-ce with forge defaults after container is setup.

Clone this wiki locally