Skip to content

7sete7/Ws

Repository files navigation

WS

Codacy Badge

Development

  • Create a .env file with the following:
    • PORT - The port in wich the server will run
    • MONGO_URL - The mongo url to connect to the mongo database
    • SERVER_URL - The url in wich the server is running
    • CLIENT_URL - The client url
  • yarn dev

Publish server

This step is only required when there is a server change. Must have docker and Heroku CLI instaled

  • Setup (only on the first time)

    • sudo heroku container:login Docker login
    • heroku login
    • git remote add chatzinho-da-bolagem https://git.heroku.com/chatzinho-da-bolagem.git
  • sudo heroku container:push web

  • heroku container:release

Obs: When a new commit to the original repository is created a pipeline from BuddyWorks will build and push a new Docker image to the docker hub.

Publish client

The client will be automatically published (with some delay) trhough a BuddyWorks pipeline. It willbuild the client and push to the repository ws-client and be accesible at github pages.

About

Global chat using websocket.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published