Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: codexrems/crd-request-generator:REMSvCurrent
tags: codexrems/request-generator:REMSvCurrent
2 changes: 1 addition & 1 deletion .github/workflows/docker-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: codexrems/crd-request-generator:REMSvCurrent
tags: codexrems/request-generator:REMSvCurrent
2 changes: 1 addition & 1 deletion .github/workflows/docker-tag-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: codexrems/crd-request-generator
images: codexrems/request-generator
-
name: Login to DockerHub
if: github.event_name != 'pull_request'
Expand Down
12 changes: 6 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
{
"type": "chrome",
"request": "launch",
"name": "Debug CRD-Request-Generator (Launch Docker)",
"name": "Debug Request-Generator (Launch Docker)",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"/home/node/app/crd-request-generator/*": "${webRoot}/*",
"/home/node/app/request-generator/*": "${webRoot}/*",
},
"runtimeArgs": [
"--remote-debugging-port=9222"
Expand All @@ -20,18 +20,18 @@
{
"type": "chrome",
"request": "attach",
"name": "Debug CRD-Request-Generator (Attach Docker)",
"name": "Debug Request-Generator (Attach Docker)",
"port": 9222,
"urlFilter": "http://localhost:3000/*",
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"/home/node/app/crd-request-generator/*": "${webRoot}/*",
"/home/node/app/request-generator/*": "${webRoot}/*",
}
},
{
"type": "chrome",
"request": "launch",
"name": "Debug CRD-Request-Generator (Launch Local)",
"name": "Debug Request-Generator (Launch Local)",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"runtimeArgs": [
Expand All @@ -42,7 +42,7 @@
"type": "chrome",
"request": "attach",
"port": 9222,
"name": "Debug CRD-Request-Generator (Attach Local)",
"name": "Debug Request-Generator (Attach Local)",
"urlFilter": "http://localhost:3000/*",
"webRoot": "${workspaceFolder}",
}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM node:14-alpine
WORKDIR /home/node/app/crd-request-generator
WORKDIR /home/node/app/request-generator
COPY --chown=node:node . .
RUN npm install
COPY --chown=node:node . .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM node:14-alpine
WORKDIR /home/node/app/crd-request-generator
WORKDIR /home/node/app/request-generator
COPY --chown=node:node . .
RUN npm install
EXPOSE 3000
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# CRD Request Generator
This subproject provides a small web application that is capable of generating CRD requests and displaying the CDS Hooks cards that are provided as a response. This project is written in JavaScript and runs in [node.js](https://nodejs.org/en/).
# Request Generator
This subproject provides a small web application that is capable of generating requests and displaying the CDS Hooks cards that are provided as a response. This project is written in JavaScript and runs in [node.js](https://nodejs.org/en/).

## Running the request generator standalone
1. Install node.js
2. Clone the repository
* `git clone https://github.com/mcode/crd-request-generator.git`
* `git clone https://github.com/mcode/request-generator.git`
3. Install the dependencies
* `cd request-generator`
* `npm install`
Expand Down