Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 1.57 KB

readme.md

File metadata and controls

64 lines (46 loc) · 1.57 KB

Playroom Web App

Installation

  • git clone git@github.com:ivoputzer/awesome-devops-and-cd-ed4.git
  • cd awesome-devops-and-cd-ed4
  • npm install
  • npm test

Run

  • npm run dev # runs parcel serve which takes care of static assets
  • npm run start # using nodemon runs server.js which is based on http, express, socket.io

How to generate a password hash for provision.yml

docker run -it alpine:latest /usr/bin/mkpasswd --method=sha-512


# - name: <github-username>
#   comment: <full-name>
#   password: <generated-password-hash>
#   state: present

Contributors

Pull changes

git pull --rebase origin master

npm run docker:build
npm run static:build

npm run docker
npm run static

Docker compose

git pull --rebase origin master

docker compose up -d