The following environment variables are required for operation of the site:
Name | Value |
---|---|
DEPUTY_API_HOST | The hostname for your API requests e.g. subdomain.deputy.com |
DEPUTY_API_KEY | The Permanent Token for accessing the Deputy API |
The following software is assumed to be installed and configured:
- Clone the repository
git clone https://github.com/blahDL/custom-deputy-ui.git
- Install the node modules
npm install
Run the web server
npm start
Browse to http://localhost:8080/ in your web browser
The service will be called Deputy Custom UI
and can be maintained through Computer Management / Services
npm run service install
Click Yes
to all the prompts to complete the installation process
Browse to http://localhost:8080/ in your web browser
Log files for the server can be found in service/daemon/
After installing the windows service, it can be uninstalled by running the following command
npm run service uninstall
Click Yes
to all the prompts to complete the uninstal process
This website proxies all requests made to the API through the web server as the Deputy API isn't configured to allow the requests directly from the browser 😞