Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.11 KB

README.md

File metadata and controls

30 lines (18 loc) · 1.11 KB

RS Translation Tools

Web application for finding translations for in-game data for the RuneScape game.

Development

Install Node.js (tested only with version 12.16.1). You will also need Yarn v1. Download all the dependencies by running yarn install on the project directory.

Install a Sonic server, or alternatively you can start a Docker container by running docker-compose -p rs-translations up -d sonic.

Create and configure the .env file in the root directory (use .env.example as a template) and a .docker/sonic.cfg.

Start the Node server locally by typing yarn start. The server will be available at localhost:8080.

Docker

Setting up dev environment:

  • docker-compose build
  • docker-compose -p rs-translations up -d web sonic

Building and pushing a new image:

  • docker-compose build
  • docker image tag rs-translations rs-translations:latest
  • docker push rs-translations:latest

Building and testing a local image:

  • docker build -t rs-translations .
  • docker run -it --rm rs-translations