Giter Club home page Giter Club logo

gitrest's Introduction

GitRest

Git REST is a project to wrap common commands in JGit in a REST-ful architecture. This project was started in order to enable a web-based Git client. Initially, the desire was to use Git JS, but it was determined that this project would be less effort and less maintenance (since most of the work is done by the JGit team).

Starting the Server

After the classpath is set properly, you can run "java com.crygier.git.rest.Main start <conf.properties file>".

If you would like to build the package for deployment as a windows service, you can execute 'gradle buildWindowsService'. This will put everything needed in build/windowsService. You can run 'GitRest.bat install' in this directory to install the GitRest service in windows. This will default to pointing to the build/windowsService/conf.properties.

If you want to uninstall the service, you can run 'GitRest.bat uninstall'.

This package will also be available for download, for easy installation.

Running in 'Detached' Mode

During development of the front end, it may be helpful to run without a server. In this case, you can open index.html in your browser of choice for development. There is code in loadApp.js that will recognize that you're running over the 'file' protocol (as opposed to http), and load the actual partials, as well as mockTemplates.js (Hardcoded, mocked resources).

Since Chrome does not like loading from the file protocol over AJAX, you will need to start chrome with the "--allow-file-access-from-files" setting.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.