Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.27 KB

README.md

File metadata and controls

52 lines (33 loc) · 1.27 KB

@rotki/demo-environment

A proxy that can be used between rotki and a public user facing url to create a read-only demo of the application.

Usage

Installation

pnpm install

Linting

pnpm run lint

Fixing lint errors

pnpm run lint:fix

Building

pnpm run build

Development mode

In development mode you will need to manually start the rotki docker image. If the changes you are doing affect develop, you might need to build the docker image.

After building or pulling the image, you need to start the container. As soon as the container is running update the .env file to point to the rotki container.

If you exposed rotki at port 8084 in the .env file you should set ROTKI_URL=http://localhost:8084. Then you need to set the listening port for the proxy too, PORT=8899

After that you can run the following command:

pnpm run dev

Now you should be able to access rotki through the proxy via http://localhost:8899.

License

AGPL-3.0 License © 2023- Rotki Solutions GmbH