Skip to content
المشاريع

حول

node.js + php realtime browser-based chat app supporting multiple rooms. Based on ry/node_chat.

الإنتاجية والأتمتة

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل
Twich web-based chat (http://twich.me/)
by Isaac Su ([email protected], @isaacsu)

based on http://github.com/ry/node_chat

For discussions and support please visit http://forum.twich.me/

Please drop me a line when you've got a site running.
I would love to hear of twich servers running in the wild.

Installation
------------

www/
This are a set of php scripts that serve up the client files and organize the rooms.

1. Create a vhost in Apache and point it to this folder. You will require mod_rewrite for it to function properly.

2. Copy www/_config.php.sample to www/_config.php and enter your own configuration settings. These help to customize the javascript files that are served to the client.

    var $port = 443; // Port that  node server is listening on
    var $domain = ''; //domain name of node server
    var $analyticsAccount = ''; // Google Analytics account
    var $analyticsDomainName = ''; // Google Analytics domain name

3. Edit .htaccess and put your own domain name in instead of twich.me

4. www/ is all set up.


node/
This is the actual node server. 

1. Configuration is in config.js. The only one you should be worrying about is port:443. This has to match $port in _config.php.

2. Start the node server by typing: node server.js

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…