20200225_jumpnotes_v2

simple note taking app


Live Demo [20200516, email me if its down :) ]

build the project

>npm run compile

Build docker image

>docker build -t jumpnotes2 .

Run Docker locally

>docker run -i --name jumpnotes2 -p 80:3000 jumpnotes2:latest

Publish docker image

>docker tag jumpnotes2 wisehackermonkey/jumpnotes2:latest
>docker login
>docker push wisehackermonkey/jumpnotes2:latest

Docker run for hosting

>docker run -d --name jumpnotes2 -p 80:3000 wisehackermonkey/jumpnotes2:latest

Docker run for hosting with autorestart

>docker run -d --name jumpnotes2 --restart=always -p 80:3000 wisehackermonkey/jumpnotes2:latest

NOTE: by default docker sets visiblity of the image to private, [FIX]: go to docker hub and make it publick

Live build docker with nodemon and a watch folder

>nodemon -e js,html,css --watch .compiled  --watch web --exec "docker stop jumpnote2 & docker rm jumpnote2 & docker build -t jumpnote2 . & docker run -d --name jumpnote2 -p 80:3000 jumpnote2:latest"