alexander171294 / RustMon

Rust game admin tool for servers (RustMonitor)
Apache License 2.0
21 stars 3 forks source link

Can't run it online #4

Closed Bazimek closed 4 years ago

Bazimek commented 4 years ago

Hello how can I run this awesome tool online? Not only in local on localhost.

Bazimek commented 4 years ago

Closed. Found it out. :)

alexander171294 commented 4 years ago

In first place, you can run ng build --prod and put the dist folder in a web hosting (apache, nginx, any web hosting, including shared hosts).

But additionally I put a docker file for run an instance, and I created an endpoint.

docker run -p 8086:80 -itd alexander171294/rustmon:latest

http://irc.tandilserver.com:8086/

Bazimek commented 4 years ago

Wait what?! I can run this on classic web hosting? That is awesome! How? When i use ng build --prod I just get some errors. Výstřižek

alexander171294 commented 4 years ago

Please pull (git pull origin master) for get this commit: https://github.com/alexander171294/RustMon/commit/6ac9ce8eede1110ade3e345359d82335ea452df6, that fix your problem.

When you build, is generated a dist/rustmon folder with plain html+javascript content that you can upload with ftp to a classic webhost (shared hosting).