<commit_before>Debug client-server data receiving and sending
----------------------------------------------

I recommend Tcpdump / Wireshark, or even better Tcpflow:
http://groups.google.com/group/sockjs/msg/12f28eccf1851d54

Publish to local
----------------

While developing, you may need do local publish. Run
``sbt publish-local``.
Alternatively you can run ``sbt`` then from SBT command prompt run
``+ publish-local``.

To delete the local publish:

::

  $ find ~/.ivy2 -name *xitrum* -delete

Publish to Sonatype
-------------------

See:
https://github.com/sbt/sbt.github.com/blob/gen-master/src/jekyll/using_sonatype.md

1. Copy content of
     dev/build.sbt.end   to the end of build.sbt
     dev/plugins.sbt.end to the end of project/plugins.sbt
2. Run ``sbt publish-signed``. Alternatively you can run ``sbt`` then from SBT
   command prompt run ``+ publish-signed``.
3. Login at https://oss.sonatype.org/ and from "Staging Repositories" select the
   newly published item, click "Close" then "Release".

Do the same with things in "plugin" directory.
<commit_msg>Add "Update related projects" guide for developers<commit_after>Debug client-server data receiving and sending
----------------------------------------------

I recommend Tcpdump / Wireshark, or even better Tcpflow:
http://groups.google.com/group/sockjs/msg/12f28eccf1851d54

Publish to local
----------------

While developing, you may need do local publish. Run
``sbt publish-local``.
Alternatively you can run ``sbt`` then from SBT command prompt run
``+ publish-local``.

To delete the local publish:

::

  $ find ~/.ivy2 -name *xitrum* -delete

Publish to Sonatype
-------------------

See:
https://github.com/sbt/sbt.github.com/blob/gen-master/src/jekyll/using_sonatype.md

1. Copy content of
     dev/build.sbt.end   to the end of build.sbt
     dev/plugins.sbt.end to the end of project/plugins.sbt
2. Run ``sbt publish-signed``. Alternatively you can run ``sbt`` then from SBT
   command prompt run ``+ publish-signed``.
3. Login at https://oss.sonatype.org/ and from "Staging Repositories" select the
   newly published item, click "Close" then "Release".

Do the same with things in "plugin" directory.

Update related projects
-----------------------

After each new version release, please update these projects to use that new Xitrum version:

* `xitrum-new <https://github.com/ngocdaothanh/xitrum-new>`_
* `xitrum-demos <https://github.com/ngocdaothanh/xitrum-demos>`_
* `xitrum-modularized-demo <https://github.com/ngocdaothanh/xitrum-modularized-demo>`_
* `comy <https://github.com/ngocdaothanh/comy>`_

Also update `gh-pages branch of Xitrum <https://github.com/ngocdaothanh/xitrum/tree/gh-pages>`_
and `Xitrum guide <https://github.com/ngocdaothanh/xitrum-doc>`_.

{'fraction_non_alphanumeric': 0.17487328023171614, 'fraction_numerical': 0.010137581462708182, 'mean_word_length': 2.9698275862068964, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5646038', 'n_tokens_mistral': 895, 'n_tokens_neox': 873, 'n_words': 269}