Sefa Eyeoglu cae711b7da
fix: bring back log4j 2.0-beta9-fixed
Forcing 2.17.1 on older versions breaks Forge
2022-02-19 20:34:52 +01:00
2022-02-19 00:17:51 +01:00
2022-02-18 23:13:21 +01:00
2022-01-28 13:27:48 -05:00
2022-02-19 19:01:37 +01:00
2022-02-18 23:33:32 +01:00
2022-02-18 19:30:20 +01:00
2022-02-19 19:01:37 +01:00
2022-02-19 19:01:37 +01:00
2022-02-19 00:17:51 +01:00
2022-02-19 00:17:51 +01:00
2022-02-19 00:17:51 +01:00
2022-02-19 00:17:51 +01:00
2022-02-19 00:17:51 +01:00
2022-02-19 00:17:51 +01:00
2022-02-19 00:17:51 +01:00
2022-02-19 00:17:51 +01:00
2022-02-19 19:21:00 +01:00
2022-01-29 08:10:04 +00:00
2022-02-19 00:17:51 +01:00
2022-02-19 00:17:51 +01:00
2022-02-19 00:17:51 +01:00
2022-02-19 00:17:51 +01:00

PolyMC Meta

Scripts to generate jsons and jars that PolyMC will access.

Deployment

It is recommended to use Docker to deploy the environment.

  • Clone this repo to a server
  • Make sure it's writable by the container later: chown -R 1000:1000 .
  • Configure config/config_local.sh
    • The defaults should be fine (apart from commiter email and name perhaps)
  • Put your SSH key (which have push access to meta-upstream and meta-polymc) at config/deploy.key
  • Pull meta- repos: bash clone.sh
  • Customize docker-compose.yaml
    • You might want to add restart: always
  • Run docker-compose up -d --build
  • Observer Cron logs using docker-compose logs -f (Runs hourly by default)
  • (Optional) Run once to fill caches: docker-compose run meta update

Usage

Install the dependencies

As root:

sudo pip install -r requirements.txt

Or as user:

pip install --user -r requirements.txt

Initial setup

This will clone meta-polymc and meta-upstream

./clone.sh

Generate files

This will run the main script and do its magic

./update.sh

Check status of meta-polymc and meta-upstream

./status.sh
Description
Prism Launcher Metadata generation scripts
Readme 1.7 MiB
Languages
Python 94.9%
Shell 2.6%
Nix 2.5%