Doctry - Doctors and Hospital Listing

Contents

1. How to Translate language in Doctry?

2. How to apply update to your existing application?

3. Email Configuration

4. How to setup CRON job in Doctry

5. Server Requirements

6. How to Enable Real Time Chat

1. How to Translate language in Doctry?

Translation of strings is termed as localization in laravel official documention.

You can change language according to your need in doctry by following the steps given below.

Create New Language

If your required folder not exist then you can create new language by following steps




For more information regrading translation in laravel you can visit laravel official documention Laravel Localization

2. How to apply update to your existing application?

If you don't want to upload and replace complete application with your existing application then you need to do the following steps.

1- Before update must backup your database and application folders and files.

2- You do not have to replace all the application folders every time. 

Just the following specific folders are important to replace and your application will be updated to latest version.

Folders include are: 

3- Open your website or application in a browser, login as admin then go to settings -> general settings -> Important update option and click import. This will update your database.

Note: You must backup your application and database before applying update. After updating the application  you can replace your custom.css file from your backup.



3. Email Configuration

You need to configure the following settings in your .env file

For Gmail server you need to do the following steps

If 2 Step Verification is Enabled:

If your 2 step verification is enabled in gmail account you need to do the following steps.

If 2 Step Verification is Disabled:

4. How to setup CRON job in Doctry

Go to the cPanel and then click on Cron Jobs


Then Setup a Cron Job according to your needs. 

Command will look something like that

/opt/php71/bin/php -q /http://yoursite.com/artisan schedule:run >> /dev/null 2>&1

This CRON job will execute and create the payouts history in the admin panel and then admin can export the payouts list of the selected month.

Thanks

5. Server Requirements

Below are the server requirements for the laravel application's

6. How to Enable Real Time Chat

Please make sure Node.js server is installed and active on your server. Please ask your hosting provider to run server.js file through SSH commands, server.js file is located in (your-project > js > server.js) Please ask your hosting provider how we can setup node server file. You need to set server host and port from chat settings


Note: if you have used port other than 3001 then please update port in server.js as well.