Skip to content

Hexeption/MCMirror

 
 

Repository files navigation

MC Mirror

Lines of code Files Maintainability

Support

Discord: https://discord.gg/dge38Gm

Installation

PPM Compatible

You need Yarn: https://yarnpkg.com/lang/en/docs/install/

and Composer:

sudo apt install composer
apt-get install php7.3 php7.3-cli php7.3-xml php7.3-cgi 

then you can pull the dependencies with:

composer install
yarn install

After that you need to build the Frontend Files:

Unminified yarn encore dev or Minified yarn encore production

Start

To start MCMirror locally (after you finished installation) run:

PHP-PM

php vendor/bin/ppm start --bootstrap=symfony --app-env=prod --logging=0 --debug=0 --workers=20 --static-directory=public/

Your Self-Hosted MCMirror will be available at 127.0.0.1:8080

You can start the Website with PHP-PM, but currently it does not like the generated Container Cache. If you want to modify the PHP Code use the following instead:

php bin/console server:run

Also you can customize the server port, as example port 8080:

php bin/console server:run 0.0.0.0:8080

About

The MCMirror backend, heavily based on the original yivesmirror.com mirror website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 66.8%
  • HTML 24.4%
  • JavaScript 4.9%
  • CSS 2.3%
  • Dockerfile 1.1%
  • Shell 0.5%