Skip to content

napse-invest/Napse

Repository files navigation

Napse

The best open source investment software.

Runing the graphic user interface

The GUI is a desktop app. It is made using Electron, React and Typescript.
You can find it in the desktop-app folder.
Here are the steps to run it (if you already have nvm, node and yarn installed, go to the step 4 directly):

  1. Install nvm

To install nvm, download and install the nvm script from the project's GitHub page:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

After installing nvm, close your terminal and open a new one. Verify the installation by checking the version of nvm:

nvm --version
  1. Install Node.js

Now, you can install Node.js. The following command installs Node.js latest version :

nvm install --lts
  1. Install yarn

Yarn is a Node package manager. Install it by running these commands

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
sudo apt install yarn
  1. Install dependencies

Start by moving to the desktop-app folder

cd desktop-app

Then use yarn to download all dependencies

yarn
  1. Run the client

Use this yarn command to run client in dev mode

yarn dev