Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khaosdoctor/helm-actions-dynamic-env-example
Example repository for my "Dynamic environments with helm and GH Actions" content
https://github.com/khaosdoctor/helm-actions-dynamic-env-example
actions github-actions helm kubernetes vue
Last synced: 5 days ago
JSON representation
Example repository for my "Dynamic environments with helm and GH Actions" content
- Host: GitHub
- URL: https://github.com/khaosdoctor/helm-actions-dynamic-env-example
- Owner: khaosdoctor
- Created: 2021-06-02T18:29:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-04T18:36:36.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T09:58:59.036Z (7 months ago)
- Topics: actions, github-actions, helm, kubernetes, vue
- Language: TypeScript
- Homepage:
- Size: 1.57 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Contoso Ship Manager - Demo Application
> This is a short sample code created by me for Microsoft Learn and ported to several other applications
## Features
This project is a simple harbor control application to track ships. It consists on a front-end and a back-end part.
## Getting Started
### Prerequisites
- Node.js version 8 for the Frontend
- Node.js version 12 or later for the backend
- Docker and Docker Compose
- MongoDB### Installation & Quickstart
#### Running stand alone
The application is divided into two main directories: `frontend` and `backend` each one with their respective codes and infrastructure files.
__Front End__: Created using Vim. Just go into the directory, type `npm install` to install all dependencies and then `npm run serve`. You can also build the image from the Dockerfile in the same directory
__Front End__: Created with TypeScript. Just go into the directory, type `npm install` to install all dependencies and then `npm run build:start` to run the app or `npm run start:debug` to start in debug mode (TypeScript watch and logging). You can also build the image from the Dockerfile in the same directory
#### Application hosted image
There's a hosted image of this application available at the MCR (Microsoft Container Registry) in the following address: `mcr.microsoft.com/mslearn/samples/contoso-ship-manager`, although this version contains some different features.
You can pull this image using `docker pull` and run it locally using `docker run`.
There are two tags available for different parts of the image:
- `backend`: Has only the backend of the application.
- `frontend`: Contains the frontend part of the application.__You'll still need a MongoDB database to run those images__
### Environment Variables
The backend portion requires environment variables to run, those are:
- DATABASE_MONGODB_URI: URI of the MongoDB database
- DATABASE_MONGODB_DBNAME: MongoDB database name