Skip to content
Registry manager and installer for repositories with dependencies
Prolog
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.DS_Store
LICENSE
README.md
la_strings.pl
lppm.pl
lppm_registry.txt

README.md

Lucian Academy as Boxes in an L-Shape

List-Prolog-Package-Manager (LPPM)

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 directory as the registry on the server.
  • lppm_registry.pl - contains users, repositories, descriptions and dependencies (lists of users and repositories).

Getting Started

Please read the following instructions on how to install the project on your computer for installing repositories with dependencies.

Prerequisites

Install SWI-Prolog for your machine.

Installing and Running List Prolog Package Manager

  • Download the repositories above and save the files in a single folder, the ROOT folder.
  • 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 directory. Packages are uncompressed source code from GitHub, saved to directories of the same name in the target folder. The algorithms need to work with this.

Authors

Lucian Green - Initial programmer - Lucian Academy

License

I licensed this project under the BSD3 License - see the LICENSE.md file for details

You can’t perform that action at this time.