Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 814 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 814 Bytes

Herald, frontend for Writtn Realms.

Herald is the code for the game of https://writtenrealms.com, as well as its world editor. It is written in Vue.js, using TypeScript and SASS.

Development

To run the frontend locally against the production Written Realms backend, install the porject and then run it with Vite:

npm install
npm run dev

Development against a local backend

If you are running a local copy of the Written Realms backend, update the API and Websocket endpoints if necessary in .env.dev then run:

npm install
num run dev-local

Docker setup

To run the frontend in a Docker container, run:

docker build -t herald .
docker run --rm -p 5173:80 herald