Registry manager and installer for GitHub repositories (of any language) with dependencies
- lppm.pl - starts a local or remote Prolog server to host the registry, where a repository entry on the registry can be uploaded or edited by reuploading, and GitHub repositories (a.k.a. packages) in the registry can be installed when in the same folder as the registry on the server.
- lppm_registry.pl - contains users, repositories, descriptions and dependencies (lists of users and repositories).
- LPPM now installs repositories needed by repositories, etc. without needing them in the first registry entry.
Please read the following instructions on how to install the project on your computer for installing repositories with dependencies.
-
Please download and install SWI-Prolog for your machine at
https://www.swi-prolog.org/build/
. -
Check the prerequisites for the specific repository to install.
- Manually download the repositories listed under "Install manually" for the repository.
- Download the LPPM Repository:
mkdir GitHub
cd GitHub/
git clone https://github.com/luciangreen/List-Prolog-Package-Manager.git
cd List-Prolog-Package-Manager
swipl
['lppm'].
lppm_install("luciangreen","<Name of Repository>").
../
halt.
- where is replaced with the name of the repository.
cd <Name of Repository>
(the name of the repository)
swipl
<Running instructions for the repository>
(see the repository instructions)
- Load
lppm
by entering['lppm.pl'].
in SWI-Prolog and run with the command e.g.lppm_start_server(8001).
on the machine that is a local or remote host. - In the web browser, go to
http://127.0.0.1:8001/
to upload registry entries. Take care to enter double quotes around all strings. The registry will not accept badly formatted input. To update an entry, re-enter it with the same user and repository. - In the web browser, view the registry at
http://127.0.0.1:8001/registry
. - Install packages by running
lppm_install("User","Repository").
LPPM will prompt you for an installation folder. Packages are uncompressed source code from GitHub, saved to folders of the same name in the target folder. Please enter the relevant folder and follow the running instructions from the repository.
Lucian Green - Initial programmer - Lucian Academy
I licensed this project under the BSD3 License - see the LICENSE.md file for details