Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Latest commit

 

History

History
37 lines (28 loc) · 1.03 KB

README.md

File metadata and controls

37 lines (28 loc) · 1.03 KB

UltraGit

The easiest way to create an uncomplicated private or public git server, that's up to you.

Build status Npm Version Dependencies

UltraGit is a fast and easy to deploy git server written in Node.js. It uses SQLite as database to store the users information and permissions.

Install

npm install ultragit

Usage

It's as easy as this:

const rugs = require('ultragit')

const ugs = new rugs.UltraGitServer()
const DB_PATH = '/opt/GIT/DB'
const REPOS_PATH = '/opt/GIT/repos'
const PORT = 1221

ugs.init(DB_PATH, REPOS_PATH, PORT, () => {
    console.log('UltraGit running at http://localhost:' + PORT)
})

Finally, run it, and you're ready to go.

node index.js

Thanks

Thanks to this amazing project by gabrielcsapo.