Skip to content

Latest commit

 

History

History
64 lines (53 loc) · 1.8 KB

SETUP.md

File metadata and controls

64 lines (53 loc) · 1.8 KB

BWE Setup Instructions

Requirements

  • NodeJS v19 or later
  • Latest release of npm

Requirements (optional)

  • Latest release of Nginx

Code Dependencies

  • Sass
  • Git
  • FS
  • ExpressJS
  • Discord Webhook Node
  • Cookie Parser
  • Body Parser
  • Sanitize HTML
  • Winston
  • URL
  • HTTP
  • Merge
  • Nodemon
  • Got


In a terminal/command prompt, navigate to where you'd like BonziWORLD Enhanced to be placed and run the following:

git clone https://github.com/CosmicStar98/BonziWORLD-Enhanced
cd BonziWORLD-Enhanced

Client

This part is unneeded. The client comes pre-built.

Server

npm i --force
node server.js

Server (nginx)

Tutorial

After this, BonziWORLD Enhanced will be accessible on port 3000. (localhost:3000)

Replit/Glitch

If you are using replit or glitch this project will require additional steps.

open "/json/settings.json" in your prefered text editor and scroll all the way to the bottom,
find an option called "isReplit" and set it to true.
Once activated, this will secure your server from people viewing the server's godword by making it a random string of numbers which get regenerated each time the server reboots/restarted. Additionally, this setting will make the server be hosted on port 80 so it is compatable with these services.


Disclaimer

I'm not responsible if you screw up anything with your computer while setting this up. I have no idea how you would, but someone will find a way. I also will not provide support for installing dependencies. If you have everything installed properly, the above commands will work.