Skip to content

Latest commit

 

History

History
74 lines (43 loc) · 3.05 KB

README.md

File metadata and controls

74 lines (43 loc) · 3.05 KB
Hydrus Web Icon

Hydrus Web

Hydrus web is a web client for Hydrus


Usage

hydrus.app

hydrus.app is the recommended way to use Hydrus Web. It will always be the latest stable version (latest commit on the master branch) of Hydrus Web. It is automatically deployed with Vercel.

The latest development build (latest commit on the dev branch) can be found at dev.hydrus.app.

Docker

A Docker image is provided for Hydrus Web.

It hosts Hydrus Web on port 80 using nginx. Hydrus Web needs to be hosted with valid HTTPS unless it is only being used on localhost. The Docker image is meant to be used with some proxy that can provide HTTPS (like Caddy or Traefik).

You may also want to run Hydrus on Docker.

Hydrus API HTTPS

Unless you are opening Hydrus Web on the same device the Hydrus client is running on, you will need to make its API available with valid HTTPS. This will likely mean running some form of reverse proxy.

There are some guides on doing this on the wiki.

Hydrus Version Support

The minimum required versions of the Hydrus client for Hydrus Web are:

Hydrus Web Hydrus Client Version
Stable branch (hydrus.app) v500
Dev branch (dev.hydrus.app) v500
1.0.0+ v500
0.3.2 v357 probably

Some features may require a newer Hydrus version than the minimum.

Development

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.