OpenChat is an Open Source messaging platform where people can send messages to anyone registered to this platform.
Setting up OpenChat on your local machine is really easy. Follow this guide to setup your development machine.
- PHP > 5.6
- MySQL
- Composer
- npm
- git
-
Get the source code on your machine via git.
git clone https://github.com/ankitjain28may/openchat.git
-
Install php and js dependencies
cd openchat composer install npm install
-
Rename file
.env.example
to.env
and change credentials.
-
Create an empty sql database and run import database.
create database openchat; mysql -u[user] -p[password] [database name] < path\openchat\sql\openchat.sql
-
To start the websocket server type
php cmd.php
-
Open a new terminal window and type
gulp
That's it, now start development at http://localhost:8888 in your browser
If you are interested in contributing to OpenChat, Open Issues and send PR.
Feel free to code and contribute