Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pashamakhilkumarreddy/node-express-workout-app
https://github.com/pashamakhilkumarreddy/node-express-workout-app
cicd docker express harness kubernetes node
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pashamakhilkumarreddy/node-express-workout-app
- Owner: pashamakhilkumarreddy
- License: mit
- Created: 2021-08-22T17:45:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-25T16:29:10.000Z (over 1 year ago)
- Last Synced: 2024-11-08T14:19:13.699Z (about 2 months ago)
- Topics: cicd, docker, express, harness, kubernetes, node
- Language: JavaScript
- Homepage:
- Size: 197 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Express CI CD Application with [Harness](https://www.harness.io/)
### To run the application in local
- The application needs atleast node `18.x.xx` to run. If you have `nvm` installed do `nvm use` or manually install the required node version
- Run `npm run clobber` and `npm i` to install the dependencies
- With hot-reload `npm run dev`
- With hot-reload and eslint enabled `npm run dev-reload`
- Without hot-reload `npm run start`### To run the application in local against prod env
- With hot-reload `npm run dev-prod`### To run the application in production mode
- With pm2 `npm run prod-pm2`
- Without pm2 `npm run prod`### To run the application in local using Docker (make sure docker is installed)
- `docker build --no-cache -f ./Dockerfile -t workout-app .`
- `docker run -dp 5000:5000 workout-app`### To push the images to docker hub
- `docker buildx create --name mydockerbuilder --driver docker-container --bootstrap`
- `docker buildx use mydockerbuilder`
- `docker buildx inspect`
- `docker login --username --password `
- `docker buildx build --no-cache --platform=linux/arm64 --platform=linux/amd64 -t docker.io//: --push -f ./Dockerfile .` or
- `docker build --no-cache --platform=linux/arm64,linux/amd64 -f ./Dockerfile --push -t /: .`