https://github.com/UnUniFi/web-apps/tree/main/projects/landing-page-html
https://github.com/UnUniFi/web-apps/tree/main/projects/explorer
https://github.com/UnUniFi/web-apps/tree/main/projects/portal
npm i
npm run [command]
Command | Description |
---|---|
start:portal | Run Portal via http |
start:portal:ssl | Run Portal via https (SSL) |
start:explorer | Run Explorer via http |
start:explorer:ssl | Run Explorer via https (SSL) |
start:landing-page | Run Landing Page |
other options are available in package.json
A certificate is required for development on HTTPS
$ openssl genrsa -out ssl/server.key 2048
$ ls ssl/
server.key
$ openssl req -new -key ssl/server.key -out ssl/server.csr
$ ls ssl/
server.csr server.key
$ openssl x509 -days 365 -req -signkey ssl/server.key -in ssl/server.csr -out ssl/server.crt
Signature ok
$ ls ssl/
server.crt server.csr server.key