Skip to content

Commit

Permalink
add npm scripts for docker build and push
Browse files Browse the repository at this point in the history
  • Loading branch information
cdiptangshu committed Nov 15, 2023
1 parent 9d12808 commit bca6bbb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
# Stomp Client
A client for testing STOMP web socket communication.
A web based tool for testing [STOMP](https://en.wikipedia.org/wiki/Streaming_Text_Oriented_Messaging_Protocol) protocol based messaging.
Uses [@stomp/stompjs](https://www.npmjs.com/package/@stomp/stompjs) for stomp client implementation.

## Demo Link
https://cdiptangshu.github.io/stomp-client/

## Setup
### Run React App
```bash
git clone [email protected]:cdiptangshu/stomp-client.git
cd stomp-client
npm install
npm start
```

### Run in Docker
```bash
docker compose up
```

## Status
Bug fixing is in progress. Not working on any new feature.

## License
<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a rel="cc:attributionURL" href="https://github.com/cdiptangshu/stomp-client" property="dct:title">Stomp Client</a> by <a rel="cc:attributionURL dct:creator" href="https://github.com/cdiptangshu" property="cc:attributionName">Diptangshu Chakrabarty</a> is licensed under <a href="http://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display: inline-block;">CC BY-SA 4.0<img src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" height="22px" width="22px" alt="CC" style="height: 22px; margin-left: 3px; vertical-align: text-bottom;"><img src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" height="22px" width="22px" alt="BY" style="height: 22px; margin-left: 3px; vertical-align: text-bottom;"><img src="https://mirrors.creativecommons.org/presskit/icons/sa.svg?ref=chooser-v1" height="22px" width="22px" alt="SA" style="height: 22px; margin-left: 3px; vertical-align: text-bottom;"></a></p>
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stomp-client",
"homepage": "http://cdiptangshu.github.io/stomp-client",
"version": "0.1.1",
"version": "1.0.0",
"private": true,
"dependencies": {
"@codemirror/lang-json": "^6.0.1",
Expand Down Expand Up @@ -36,7 +36,9 @@
"eject": "react-scripts eject",
"lint": "eslint src",
"lint:fix": "eslint --fix src",
"format": "prettier --write './src/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc"
"format": "prettier --write './src/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc",
"docker:build": "docker image build -t cdiptangshu/stomp-client:$npm_package_version .",
"docker:push": "docker push cdiptangshu/stomp-client:$npm_package_version"
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit bca6bbb

Please sign in to comment.