Skip to content

Vertexvis/work-instructions-demo

Repository files navigation

Vertex Work Instructions Demo

Create 3D work instructions using the Vertex Platform.

Run locally in Docker

  1. Copy .env.local.template to .env.local and optionally edit values
  2. Run docker-compose --file ./docker-compose.yml up to start the app locally
  3. Browse to http://localhost:3000

If you pull down changes, you'll need to run docker-compose --file ./docker-compose.yml build to build them and then docker-compose --file ./docker-compose.yml up again.

Local development

  1. Copy .env.local.template to .env.local and optionally edit values
  2. Install dependencies, yarn install
  3. Run yarn dev to start the local development server
  4. Browse to http://localhost:3000

Project organization

public/       // Static assets
src/
  components/ // Components used in pages
  lib/        // Shared libraries and utilities
  pages/      // Pages served by NextJS
    api/      // API endpoints served by NextJS

Deployment

A few options for deployment,