Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 830 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 830 Bytes

NWSD-Chat · Travis CI Status

To build both parts: npm run build

To start local development: npm run dev

To build Docker image: npm run buildDocker

To start Docker container: npm run runDocker

Please find Kubernetes project here: https://github.com/vyshkov/scaling-nwsd-chat

To build and push Docker image to your own Docker Hub from your local machine:

  • add credentials in .env file:

    DOCKER_USERNAME=userName
    DOCKER_PASSWORD=userPassword
    
  • login into Docker Hub npm run dockerLoginLocal

  • tag your image (first should be built) npm run dockerTagLocal

  • push the image npm run dockerPushLocal

Note: instead of npm run you can use yarn