From 8ee75e4b6ff7dc6376bddbffcfebe55a5f9d0ae0 Mon Sep 17 00:00:00 2001 From: Maxwell Date: Fri, 20 Sep 2024 13:29:59 +1000 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 67a2e94..affa26d 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,12 @@ No reason. :) ### Setup +#### Express + +Run the command `curl https://maxwellj.xyz/mapm/mapm.sh | bash`. This will run an express setup script. + +#### Manual + Make directories /usr/mapm and /usr/mapm/tmp. Add /usr/mapm to path. Download the files and make sure Gradle is installed. Run `gradle distTar` to compile a Tar file with all the needed Jars in it, including mapm. Untar the archive in build/distributions. Run `./(where tar extracted to)/bin/mapm`. (or mapm.bat if you're crazy) ### Usage @@ -25,7 +31,9 @@ To make a mapm package, go to https://git.maxwellj.xyz/mapm/stable and submit a ├── executable └── Any other files your package needs ``` -Zip all that up into a .tar.xz file, upload it to your server and add the link to your pull request. After creating the .tar.xz, use Mapm to create a checksum for the file. Run mapm, type `checksum`, press enter and type the file path. Press enter and copy the checksum to `(packagename).hash` inside your pull request. +Zip all that up into a .tar.xz file and upload it to your own server. After creating the .tar.xz, use Mapm to create a checksum for the file. Run mapm, type `checksum`, press enter and type the file path. For now, there is no polished system for package processing, so for now send an email to max AT maxwellj.xyz with the package link and hash. + +**Note**: If your package requires an update, make sure to email an updated link and hash, otherwise Mapm will reject your package when it is being installed. ### Making your own repo