This repository has been archived by the owner on Feb 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
Matt Creel edited this page Jan 11, 2022
·
9 revisions
The Redlure client is built with Angular7 and requires node package manager to install. To install the client use the following commands:
git clone https://github.com/redlure/redlure-client.git
sudo apt-get install npm
sudo npm i -g [email protected]
sudo npm i -g @angular/cli
cd redlure-client && npm install
The client interface can be started with:
./redlure-client.py
By default, this will start the client on port 4200.
The most painful part of setting up the client is getting the right version of Node installed. If the command above gives you an error about the minimum required Node version, the most pain-free way I've found to fix this is using Node Version Manager.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
nvm install <required version>
Make changes to config.py
- SSL - Toggle the use of SSL
- CERT_PATH - set path of custom SSL cert
- KEY_PATH - set path of custom SSL key
- HOST - Interface that the client will be served on
- PORT - Port the client will be served on
If CERT_PATH and KEY_PATH are left with their default values, self-signed certs will be generated and used
Once you have setup a console and client, you can log into redlure with the username admin
and the password redlure
.