United Nurse Registry
the last registry to rule them all.
install
npm install
run development build
npm run development
run production build
npm run production
node server
auto restart gulp
npm i -g gulper
gulper
ec2 pull new image, stop current container, clean and start a new one
setup server
sudo yum update -y; sudo yum install -y docker; sudo service docker start; sudo usermod -a -G docker ec2-user; exit
first load
docker login
docker run --restart=always -d -p 80:8080 thewillhuang/unitednurseregistry; exit
subsequent loads
sudo yum update -y; docker pull thewillhuang/unitednurseregistry; docker stop $(docker ps -aq); docker rm $(docker ps -aq); docker run -d --restart='always' -p 80:8080 thewillhuang/unitednurseregistry; docker rmi $(docker images -q --filter "dangling=true"); exit