2019-04-04 00:40:07 +02:00

1.5 KiB

Web Installation

{% hint style="warning" %} This documentation should be split into a local and a docker installation variant. Also maybe there should be a main docker installation guide for the whole system at once!? {% endhint %}

Clone Repository

The Frontend Repository can be found on github.
https://github.com/Human-Connection/Nitro-Web

git@github.com:Human-Connection/Nitro-Web.git

Install Dependencies

{% hint style="info" %} Make sure you are running on LTS Node 10: node --version {% endhint %}

{% tabs %} {% tab title="Yarn" %}

yarn install

{% endtab %}

{% tab title="NPM" %}

npm install

{% endtab %} {% endtabs %}

Development

To start developing you need to start the server with the dev command. This will give you "hot reload" which updates the browser content mostly without reloading the whole page.

{% tabs %} {% tab title="Yarn" %}

yarn dev

{% endtab %}

{% tab title="NPM" %}

npm run dev

{% endtab %} {% endtabs %}

This will start the UI under http://localhost:3000

For development environments, we created three users with different profiles and privileges.

Login to the app with one the following credentials:

password: 1234 same for all profiles

You should see this under http://localhost:3000