User interface to allow admins to interact with their Eyewitness bot.
- Node.js (see the "engines" property in package.json for supported versions).
- Npm package manager.
- Docker 17+ (for local testing)
- Ngrok (for local testing)
- MongoDB (if not using Docker for local testing)
When developing locally I like to use Docker (for environment encapsulation). I also use multiple terminal windows/tabs rather than starting all the Docker containers in one window as this makes it easier to read the application's terminal output.
You first need to create a local .env
file which will contain secrets and provider specific config. See ./app/main.js
for the full list of environment variables and the corresponding config names. See also empty.env
- this provides a starting point for creating a .env file for a specific environment.
- Start the eyewitness bot and dependencies.
- Open an additional terminal tab, navigate into the folder for this project, and run
docker-compose up ui
.
See the eyewitness repo for instructions on how to deploy.