Coder Social home page Coder Social logo

lv's Introduction

An insurance system for your precious work!

Prerequisites

Installation

Following steps would get you started:

  1. Download Live Version.

  2. Go to the LiveVersion folder and execute source ./setup.

  3. If you see "Success!", all went well. It is ready.

$ cd lv-master 
$ source ./setup
Success!

Quick Usage

$ watch foldername or filename

Examples:

1. $ watch ~/projects/my_project    # watch folder live_version
2. $ watch ~/.bash_profile          # watch file .bash_profile
2. $ watch /etc/hosts               # watch file /etc/hosts to track configuration

In Example 1. watch ~/projects/my_project, watch command will:

  • Will ask for the default values (first time execution only).
  • Create a Live Repository in ~/LiveRepos.
  • On Mac, Create a new LaunchAgent to watch the folder.
  • On Linux, Create a new Watcher job or incrond entry.
  • Live Version activity would be logged in ~/logs/my_project.projects.log by default.

Note: incrond works only at single directory level, changes in subdirectories are not tracked by it.

Advance Usage

$ lv /full/source/path /full/destination/path [/log/file] [email]

Where:

  • /full/source/path is the absolute path of the file or folder that you want to be versioned live.
  • /full/destination/path is absolute path of the Live Repository where a versioned copy of the source would reside.
  • /log/file is an optional parameter that gives absolute path of the log file where log of activities would be kept.
  • email is an experimental feature; works only on shell environment.

This is one time execution, you may want to add this to your build script or custom launchd property list file, or incrontab entry.

Recovery

To harness the power of Live Version, you would need a graphical git client such as Source Tree.

Once you have the client, you can open your Live Repository in the client and see the changes in much clear context.

Check out documentation for more details.

Happy Versioning!

lv's People

Contributors

anupam-arohi avatar

Watchers

 avatar  avatar  avatar

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.