ShankyTiwari / Realtime-Private-Chat-using-AngularJs-Nodejs-and-Mysql

:clipboard: A real time Private Chat application using AngularJs, Nodejs and Mysql
http://www.codershood.info/2015/12/10/real-time-chatting-app-using-nodejs-mysql-angularjs-and-socket-io-part-1/
19 stars 19 forks source link

Blank Page #5

Closed xeno024 closed 4 years ago

xeno024 commented 4 years ago

Hy!

I made the site very difficult to operate. The console is already empty, no problem. But nothing appears on the page. It does not load the registration / login window or anything. What's the problem? On localhost/runs on internal network, loads, but nothing from the outside. (Sorry for my English)

Please, help me! Thank you!

xeno024 commented 4 years ago

I know what the problem is. I would like to run the project from a subfolder of the server. I rewrote a lot of things, but socket.io somehow doesn't work. What should I rewrite in this case?

Please, help me! Thank you!

ShankyTiwari commented 4 years ago

Hey, You just had to download the code and extract it now open the extracted folder and run the below steps, 1.npm install

  1. node server.js

And please make sure you have an internet connection since I have imported angular and CSS files from CDN.

Thanks

ShankyTiwari commented 4 years ago

Feel free to ask anything!

xeno024 commented 4 years ago

Hi! It already had. I would like to run the code in a subfolder of the server. There is currently no error on the page, but nothing appears. As if you couldn't invite auth.html / home.html.

config: server.js:

 this.port =  process.env.PORT || 3000;
 this.host = `192.168.0.102`;

index.html:

Realtime Private Chat using Angular, Nodejs and Mysql

Please help! What could be the problem?

I have openmediavault (debian) and Nginx.