@codementor/chat-widget

Standalone chat plugin of Codementor Chat

Usage no npm install needed!

<script type="module">
  import codementorChatWidget from 'https://cdn.skypack.dev/@codementor/chat-widget';
</script>

README

CmChat

Standalone chat plugin of Codementor Chat

Remember to build before release or import by others!

Local development

SSL setup

  1. Add 0.0.0.0 local.codementor.io at /etc/hosts
  2. Run $ ./bin/generate-local-cert
  3. Double click on local.codementor.io.cert.pem file
  4. Select the item you just imported, press Cmd+i, expand Trust section, select Always trust for When using this cert

Install dependencies & start

  1. yarn install
  2. yarn start
  3. visit https://local.codementor.io:3101

Deploy

  • merge feature branch to develop
  • run yarn run release:[pre|patch|minor|major], which will create a new commit with new version and publish it! (make sure you have access to @codementor/chat-widget)