Tanza3D / reddark

reddark, but it's in realtime
GNU Affero General Public License v3.0
299 stars 41 forks source link

How to install it? #50

Open Johnnybegood90 opened 1 year ago

Johnnybegood90 commented 1 year ago

The first hyperlink: Reddark (https://reddark.untone.uk/)

Yes, but it is really unstable, so I want my own version...

KonradStuewe commented 1 year ago
  1. Requirment is Node.JS
  2. Clone the repository
  3. Navigate into the folder and install socket.io and express via npm
  4. Rename config.js.example to config.js and optionally change the port
  5. Start the app via node main.js, you can now access the site via localhost:3212 (or whatever port you choose)

That should be it. I get flooded with rate limited messages, no clue if that's intended since it stays at "Server reloading..." Maybe I just haven't kept it running for long enough. Perhaps @Tanza3D knows what's going on.

Johnnybegood90 commented 1 year ago

I get flooded with rate limited messages, no clue if that's intended since it stays at "Server reloading..." Maybe I just haven't kept it running for long enough. Perhaps @Tanza3D knows what's going on.

Thanks for the help, I'm not really used to NodeJS. I have exactly the same issue as you, with two servers. Maybe there is a parameter we can put in config.json to add an API key?

JuanjoSalvador commented 1 year ago
  1. Navigate into the folder and install socket.io and express via npm

Wouldn't be easier to simply install dependencies throught package.json?