If you have purchased the InfyChat system then you will be able to find 2 different zip files into it.
As a non-technical user, you need to use a dist.zip file.
Extract that file on your local and follow the following steps:
Upload dist.zip to your web server's root (public_html) and extract it there. If you are installing it on subdomain then do extract it in your subdomain's root folder.
Open PHPMyAdmin on your server and do a login.
Click on the Databases tab.
Create a new database and specify a Database name of your choice and click the Create button.
Now on the left, select the database that you have created and click Import in the top menu
Under Import, choose the database SQL file from
dist/database/chat.sql from the extracted file from your local and click the Go button.
.env file on your server's root folder.
Update the following variables in your
APP_NAME - Name of your Application/Library System APP_URL - Change this URL with your server URL (including trailing path if you are putting it in a subfolder or root website) DB_HOST - Put your database hostname here DB_PORT - Put your database port here if it does not default to 3306 DB_DATABASE - Change it to your database name DB_USERNAME - Name of your database user DB_PASSWORD - Password of your database user
You will also need to set up mail configuration, you can read more about here for that setup based on mail service that you use.
MAIL_DRIVER MAIL_HOST MAIL_PORT MAIL_USERNAME MAIL_PASSWORD MAIL_ENCRYPTION MAIL_FROM_ADDRESS MAIL_FROM_NAME
OneSignal - If you want to configure Push Notifications then you need to add OneSignal configuration. You can find the steps here.
AWS S3 - You can also use your choice of storage driver to store your media assets if you want. All of your attachments will be placed into that. You can find the steps here.
Social Authentication - You can configure social authentication for registration and Login. You can find the steps here
InfyChat is built on Laravel Echo, Laravel Broadcasting mechanism. InfyChat works with all Laravel Echo supported drivers.
You can use your choice of driver for realtime message updates. Here is the guide for both.
Go to pusher website and do sign up or if you already have an account then do a login.
After login you will be redirected to the following screen.
Click on the “Create new app” button. After clicking this button you get below screen.
Enter the name of your app. Select a cluster of your choice. Select “JS” from front-end tech and “Laravel” from back-end tech and click “create my app” button. As shown in the below image.
After creating an app yow will redirect to the below screen. After that click on the “App settings” menu as pointed in below screen.
After clicking on “App Settings” you will redirect to the below screen. From there select “Enable client events” checkbox and click on the “Update” button.
Now click on the “App Keys” menu and you will get the following screen.
Copy the values and add those values in your env file.
PUSHER_APP_ID - Your pusher app id PUSHER_APP_KEY - Your pusher app key PUSHER_APP_SECRET - Your pusher app secret PUSHER_APP_CLUSTER - Your pusher app cluster
Laravel Echo also works with Laravel Echo Server with Socket.io implementation. We have created a very good video that demonstrates step by step to use Laravel Echo Server into InfyChat. Check the video below.
You can now login as admin using the following credentials.
Access the InfyChat app by your URL. You should be able to see the below-landing page.
Click on the Register button and do register using your email.
Now check your email you will get below activation mail. (Make sure you have configured your mail settings properly)
Click on the “Activate your account” button, and you will be redirected to the login page as shown in the below image.
Login using your email & password
We are ready to go.