- GitL is a decentralised Git that lets you commit and view diffs of the version control system in your local folder.
Please read the following instructions on installing the project on your computer for controlling versions.
- Please download and install SWI-Prolog for your machine at
https://www.swi-prolog.org/build/
.
- Download:
- this repository and its dependencies
- List Prolog Interpreter
- Lucian CI/CD
- 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","gitl").
../
halt.
-
In Shell:
cd gitl
swipl
-
To load the algorithm, enter:
['gitl.pl'].
-
In the folder
gitl_test
at the same level asgitl
, store your repositories, e.g.b
. -
In the folder
gitl_data
at the same level asgitl
, GitL stores the version control system and diffs between versions. -
commit("b","Description of changes.").
- Commits repositoryb
to the version control system and creates an HTML file with the differences between versions and the description of changes.
- To see a list of repositories with changes and commit some of the changed ones, load with:
gitl_server(8000).
-
Go to
http://localhost:8000/gitl
. -
Remember to edit the password in
../Philosophy/web-editor-pw.pl
before running. -
To view and change repositories, load with:
['web_editor_gitl_test.pl'].
web_editor_server(8000).
- Go to
http://localhost:8000/webeditor
.
- So far, to commit changes from Lucian CI/CD, run:
scp -pr ../../GitHub2o/ ../gitl_test/
in thegitl
folder before committing.
Lucian Green - Initial programmer - Lucian Academy
I licensed this project under the BSD3 License - see the LICENSE.md file for details