Coder Social home page Coder Social logo

amerigo's Introduction

What is does

Don't want to develop remotely? This gem is a convenient rsync wrapper to keep remote and local directories in sync.

  • actions - up | down | sync | init
  • check local and remote branch name match

Only supports git for now.

Use init to make a new directory with a fresh journey.json.

The sync option first executes a down. It watches for changes on your local filesystem, triggering an up each time.

Check --help.

Installation

Needs Node and npm

~> npm install -g amerigo
~> amerigo -h

Config file syntax

journey.json

{
  "host": "<ssh remote host>",
  "root": "<repo root dir>",
  "user": "<ssh remote username>",
  "expeditions": [
    {
      "remote": "<remote dir>",
      "local": "<local dir>"
    },
    ..
  ],
  "ignores": [
    "<folder-or-filename>",
    ..
  ]
}
  • host is the hostname of the server that you are accessing.
  • user is your username on the host server
  • root is directory that all remote filepaths will be accessed relative to. So if you have a folder project in your home directory, that should be ~/project, and remote: "foo" will resolve to ~/project/foo on the server.
  • local is the path to the local directory. Similarly.

Naming

Paying 'omage to the uncelebrated explorer.

amerigo's People

Contributors

raindrift avatar

Watchers

 avatar  avatar

Forkers

raindrift

amerigo's Issues

instructions

hey, i've installed this application but i don't understand very well the instructions.

On host, do i need to write for example: [email protected] ?
How can i set the password??

what is "root": "" ?

can you write me an example of connection?

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.