/LeagueOfDreams-Electron-EJS

LeagueOfDreamsClient

Primary LanguageJavaScriptMIT LicenseMIT

League Of Dreams Client & Server

# LeagueOfDreams Electron & EJS
# Server was merged with client
# For more informations please visit our discord server

If you have range ports forwarded you can play with your friends


Run / Compile client in Windows:
Client Video tutorial on youtube, click here

  1. Install NodeJS
  2. Run install_node_modules.bat
  3. Run run_client.bat for live run or compile.bat for compile

Run server in Windows:
Server Video tutorial on youtube, click here

  1. Install Mongo Database community server
  2. Range port forward from 3000 to 7000 (if you want public server)
  3. Download LeagueSandboxProject, place it here under the name "GameServer"
  4. Compile LeagueSandbox Project
  5. Change secretkey and database name in /config/secret.js
  6. Run install_node_modules.bat
  7. Run run_client.bat for both server and client or run_server_only.bat for server only

For 24/7 runtime we recommend using PM2
For more informations please visit npm page of pm2
Init:
- pm2 start serverLoD.js
Usage:
- pm2 restart serverLoD
- pm2 logs serverLoD
- pm2 stop serverLoD
- pm2 start serverLod