Skip to content

SafetyVision/safety-vision-infra

Repository files navigation

SafetyVision Infra

Prerequisites

Install docker-compose using these instructions. If you are using Windows/Mac, the easiest way to do this is to install Docker Desktop.

Install make for your shell of choice. If you are using Powershell, run winget install GnuWin32.Make and add C:\Program Files (x86)\GnuWin32\bin to your PATH variable (Stack Overflow on the subject)

Setup

  1. Clone safety-vision-ui, safety-vision-platform, and this repo. When cloning these repos, make them siblings in your directory structure as shown:
your-parent-directory
├── safety-vision-infra
├── safety-vision-platform
+── safety-vision-ui
  1. Build the Docker containers for the platform and the UI using an administrator PowerShell (or use sudo on Mac/Linux):
  • cd to safety-vision-platform and run make build
  • cd to safety-vision-ui and run make setup
  1. cd to this repository's directory and set your AWS_ACCESS_KEY_ID and AWS_SECRECT_ACCESS_KEY environment variables.

  2. Build and run the docker images:

make build
make up
  1. Run the database migrations (if you have issues running this just try again in a few seconds):
make migrate
  1. Visit http://localhost to verify the UI is running. image

  2. Visit http://localhost/api/accounts to verify the backend is running. image

  3. Shut the application down:

make down

About

Run SafetyVision's platform and UI with an Nginx reverse proxy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors