Set up the script and launch the script on Ubuntu 18.04 or Debian 9
Can you help with the launch?Here is the instructions:
The script works on Ubuntu 18.04 and Debian 9
Since the script is in laravel, the root catalog is publicly available, .htaccess is responsible for redirecting to the subcatalog.
To install, disarchive the archive, create a database in mysql5.7 or above and import the database from ADDONS / MySQL /
Further, in .env files you need to register access to the database and URL of the site, as well as access to the database in config / database.php
The script works only on php7.2, idap, mbstring, gd, ioncube extensions, just for games that you need to install nodejs version 12
Install JS nodes using the installation example under Ubuntu 18.04
https://www.rosehosting.com/blog/how-to-install-node-js-on-ubuntu-18-04/
Apt-get install curl
curl -sL https://deb.nodesource.com/setup_12.x♰ sudo -E bash -
Apt-get install nodejs
Then you need to run the server.js, which is in the PTWebSocket folder.
We do the following
by PM2 ls
NPM install -g ws
by npm install -g request
npm to set pm2 -g
PM2 start server.js --watch
Check if it works.
Status of PM2
Then you need to open the port 8449 and in public / socket_config.json to register your domain in the domain.com format without www and http
Some games will need Node JS connection.
Freelancer's review of cooperation with client
Set up the script and launch the script on Ubuntu 18.04 or Debian 9The customer quickly delivered all the materials and access, the payment was made instantly. pleasant in communication. I recommend to everyone!
-
1110 49 0 Good day .
Install Laravel + node.js on Ubuntu
pm2 will be made in the form of a service so that it starts itself after rebooting the server and it should not be as in the description to start from the command line.
-
822 15 0 Hello, I’m going to fit and do it.
Experience is, with Laravel I have worked a lot and I know their submarine stones.
Please call me, I can start now.
My telegram - crusades97
-
428 23 0 1 I have experience launching Laravel+nodejs, as well as their more than 1,000 successful installations separately, I am glad to help you.
-
553 107 0 Hello, ready to complete the task now, there is the necessary experience.
-
1299 44 5 1 Hello to you. In three to four days everything is ready. The task does not seem difficult, and there God knows it.
-
4057 256 0 2 Hello to you.
I can try to set a script. Prepared to implement immediately after approval of the project.
-
На каком этапе у Вас возникает проблема?
-