Skip to content

rconway/webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

61f8f3a · Mar 1, 2025

History

68 Commits
Jul 23, 2023
Mar 1, 2025
Feb 22, 2023
Jul 9, 2023
Feb 22, 2023
Jul 19, 2022
Jul 19, 2022
Jul 19, 2022
Nov 1, 2020
Jun 30, 2023
Jul 19, 2022
Jul 19, 2022
Jul 9, 2021
Jul 9, 2021

Repository files navigation

webapp

Build Steps

Build the app

./ui/build-app-docker.sh

Build the service

./service/build-service-docker.sh

Build everything in one go

./build-docker.sh

Run the built service

./service/webapp

The service runs on http://localhost:8080/.

Run the app development server

./ui/start-app-docker.sh

The development server runs on http://localhost:3000/app.

Recreate react app from fresh

rm -rf ./ui/app/
./ui/create-app-docker.sh

Edit the file ./ui/app/package.json to set the /app path prefix to the application.
Add the setting...

  "homepage": "/app",

Build Automation

GitHub Action - Build and Publish Container

The GitHub action build-and-publish-container.yml will build the container image and publish to DockerHub.

The image will be tagged as...

  • branch name
  • vX.Y.Z for git tags conforming to semver notation
  • latest for commits to the default branch of the repo (main)