8000 GitHub - omahs/rotki.com: The frontend for rotki.com
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

omahs/rotki.com

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rotki.com

Build Setup

# install dependencies
$ pnpm install

# serve with hot reload at localhost:3000
$ pnpm run dev

# build for production and launch server
$ pnpm run build
$ pnpm start

Setting up the environment

Make sure the environment file exists

$ touch .env

To avoid api call loop, which freezes the app, do not set the variable to /

NUXT_PUBLIC_BASE_URL=http://localhost:3000

And input the RECAPTCHA public key there.

NUXT_PUBLIC_RECAPTCHA_SITE_KEY=XXXX

You can get a testing key from developers google.

if you are running behind https make sure to also add:

NUXT_PUBLIC_BASE_URL=https://localhost
NODE_TLS_REJECT_UNAUTHORIZED=0

Backend proxy

You can configure the frontend to proxy the /webapi to a server running somewhere:

For the production system you could use:

PROXY_DOMAIN=rotki.com

or if staging is running you could set:

PROXY_DOMAIN=staging.rotki.com

If the server where you proxy doesn't run using https you can set so that the backend requests are proxied to http:

PROXY_INSECURE=true

Run

Run with the development server with the following command:

$ pnpm run dev

Lint

To fix any lint errors you have to run

pnpm lint:js --fix

Tests

to run vitest

pnpm test

# run watch mode
pnpm test:watch

Packages

No packages published

Languages

  • Vue 79.6%
  • TypeScript 19.3%
  • SCSS 0.5%
  • JavaScript 0.4%
  • Dockerfile 0.2%
  • Shell 0.0%
0