sagarankoliya / realtime-private-chat-nodejs-socketio-vuejs-laravel

Realtime Private Chat NodeJS SocketIO Vue JS Laravel
82 stars 34 forks source link

How to make this app ready for production? #6

Closed SankhaRx closed 6 years ago

SankhaRx commented 6 years ago

I want to deploy this app in Godaddy hosting with Apache and PHP, how can I do this?

sagarankoliya commented 6 years ago

If your Godaddy hosting support to install nodejs then you can do it.

SankhaRx commented 6 years ago

Yes I have installed Node.js with putty, now I want to know how can I handle these commands in server export NODE_ENV=dev npm start and php artisan serve how can I automate these command?

sagarankoliya commented 6 years ago
  1. For nodejs use http://pm2.keymetrics.io/
  2. For PHP if you have domain ,

require DIR.'/bootstrap/autoload.php'; $app = require_once DIR.'/bootstrap/app.php';

SankhaRx commented 6 years ago

Ok thanks I will try and let you know. Thanks for this great app. I am closing the issue for now..

W3bDeveloper7 commented 5 years ago

pm2 start index.js or what ?

sagarankoliya commented 5 years ago

Hii

Yes index.js

W3bDeveloper7 commented 5 years ago

Thanks, it working but i have another problem now .. i can send from one side and receive at the other side but can't reply or send from also can't see if any one is online or not

sagarankoliya commented 5 years ago

Hii,

May be node server not properly configured or if any error please send me screenshot.

Also please read readme.md file all dependency are installed

Thanks