Web application for finding translations for in-game data for the RuneScape game.
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.
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