Skip to content

Latest commit

 

History

History
78 lines (48 loc) · 1.83 KB

CONTRIBUTING.md

File metadata and controls

78 lines (48 loc) · 1.83 KB

Contributing

Any contribution is welcome.

To avoid reliance on third party services, this project will require community support to extend and maintain the list of tracked token backings.

For the most part this only requires adding or updating data files.

If you want to contribute on the functionality of the webpage itself, you can fork the repository and propose changes through pull requests. The webpage is build using Svelte and development is done using NPM.

How do I get set up?

Install nvm

For the package management, we need to install Node. To install a specific version of Node, we will first install the Node Version Management (nvm).

Download and install nvm:

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

Reload the .bashrc:

source ~/.bashrc

Install Node

You should now be able to list all available Node versions like this (--lts for versions with long term support):

nvm list-remote --lts

You can find some information about the major versions and their long term support on the release page of Node.js.

You can install the latest v16 version with long term support with this command:

nvm install v16 --lts

Switch to the project folder and install the dependencies.

cd portal
npm install

How to locally serve the page?

To see if everything is working you can start it up like that.

npm run dev -- --open

If everything worked correct, your browser should open http://localhost:3000/.

You can also use the VS code launch configuration Debug Svelte App via F5 to debug the application.

How do I run tests?

Execute:

npm test

Building

To create a production version of your app:

npm run build