Skip to content

New web client

Sébastien Gallou edited this page Oct 18, 2018 · 1 revision

This new web client (still in development, not yet released), is based on the famous Angular framework.

Setup development environment

First get the new client sources by cloning this repo.

You can use several development environments to edit this client, here are the setup of some of these dev-env.

Webstorm

Here is how to set-up your dev-env based on Webstorm under Windows.

download the packages

Installation

  • install node.js, let default options (particularly the option setting node.js in the system path)
  • Install Webstorm

Start the client

  1. Open the project (targeting the yadoms-ui repo) from Webstorm. 2.In Webstorm, open yadoms-ui/package.json
  2. Webstorm should now prompt you to install all the dependencies. Click on 'install'
  3. Web installed, just run the client by clicking the 'play' button next to the line "start": "npm run widgets && ng serve"
  4. Click on the suggested link (probably http://localhost:4200) to open the browser on the main web client page

Troubleshooting

  • In cas of Webstorm says that node.js is not found, just restart it.
Clone this wiki locally