|
1 | 1 | Node.JS Chat |
2 | 2 | ============ |
3 | | -[](https://github.com/IgorAntun/node-chat/stargazers) [](https://github.com/IgorAntun/node-chat/issues) [](https://github.com/IgorAntun/node-chat) [](https://igorantun.com/chat) " [](https://gitter.im/IgorAntun/node-chat?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) |
| 3 | +[](https://github.com/IgorAntun/node-chat/stargazers) [](https://github.com/IgorAntun/node-chat/issues) [](https://github.com/IgorAntun/node-chat) [](https://igorantun.com/chat) " [](https://gitter.im/IgorAntun/node-chat?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) |
4 | 4 |
|
5 | 5 | This is a node.js chat application powered by SockJS and Express that provides the main functions you'd expect from a chat, such as emojis, private messages, an admin system, etc. |
6 | 6 |
|
@@ -32,27 +32,27 @@ You can test a fully working live demo at https://igorantun.com/chat |
32 | 32 | ####There are 3 admin levels: |
33 | 33 | - **Helper:** Can delete chat messages |
34 | 34 | - **Moderator:** The above plus the ability to kick and ban users |
35 | | -- **Administrator:** All the above plus send global alerts and promote/demote other users |
| 35 | +- **Administrator:** All the above plus send global alerts and promote/demote users |
36 | 36 |
|
37 | 37 | --- |
38 | 38 |
|
39 | 39 | ## Setup |
40 | 40 | Clone this repo to your desktop and run `npm install` to install all the dependencies. |
41 | 41 |
|
42 | | -You might want to look into `app.js` and `public/js/chat.js` to make some adjustments such as changing the socket url to other than localhost, and set up a SSL certificate to work with it. |
| 42 | +You might want to look into `config.json` to make change the port you want to use and set up a SSL certificate. |
43 | 43 |
|
44 | 44 | --- |
45 | 45 |
|
46 | 46 | ## Usage |
47 | 47 | After you clone this repo to your desktop, go to its root directory and run `npm install` to install its dependencies. |
48 | 48 |
|
49 | | -Once the dependencies are installed, you can run `node main.js` to start the application. You will then be able to access it at http://localhost:3000 |
| 49 | +Once the dependencies are installed, you can run `npm start` to start the application. You will then be able to access it at localhost:3000 |
50 | 50 |
|
51 | | -To give yourself administrator permissions on the chat, you will have to type `/op [your-name]` in the app console. |
| 51 | +To give yourself administrator permissions on the chat, you will have to type `/role [your-name]` in the app console. |
52 | 52 |
|
53 | 53 | --- |
54 | 54 |
|
55 | 55 | ## License |
56 | 56 | >You can check out the full license [here](https://github.com/IgorAntun/node-chat/blob/master/LICENSE.md) |
57 | 57 |
|
58 | | -This project is licensed under the terms of the **MIT** license. |
| 58 | +This project is licensed under the terms of the **MIT** license. |
0 commit comments