Code Monkey home page Code Monkey logo

exodom's Introduction

Exodom

A tool to ease the pain of syncing data across domains

Usage:

exodom download <domain> [options]
exodom upload <domain> [options]
exodom sync <source domain> <target domain> [options]

Options:

-c, --client-models [device_rid]    Sync client-models. If [device_rid] is 
                                    omitted, use the same [device_rid] as the 
                                    source domain's.

-d, --domain-config                 Sync domain config. Requires global 
                                    admin access to upload.

-h, --help                          Print this page.

-i, --interactive                   Show hints. Prompt users to overwrite 
                                    existing themes, client models, domain 
                                    widgets. If this option is not used,
                                    existing objects will be skipped.

-p, --path <path>                   Save objects at the selected path, 
                                    the default path is "./domain name".

-t, --theme                         Sync themes. Domains should not have 
                                    themes with the same name.

-u, --user <user:pwd,[user:pwd]>    Passwords can be omitted, users wll be 
                                    prompted to input them. When syncing,
                                    two sets of credentials are required.

-u, --user <user:pwd>               Users may enter one only set of 
                                    credentials if it is able to access both
                                    source and target domains.

-V, --version                       Output the version number.

-w, --widget                        Sync domain widgets.

If no options are included, the default options are:

-t, -c, -d, -w

INSTALLATION

prerequisites
- node version ≥ **v0.10.x** - follow the installation instructions [here](https://nodejs.org/download/ "nodejs.org") - npm version ≥ **1.x.x**

Run the following command to install exodom:

$ sudo npm install -g exodom

Example of syncing data from source.signoff.domain to target.signoff.domain:

$ exodom sync source.signoff.domain target.signoff.domain -d -t -p ./ -u [email protected]:userpassword,[email protected]:adminpassword

If you are working on a signoff domain, make sure your host file includes your domain.

Note: 52.8.31.110 is used for signoff domains.

TODOS

  1. Add force update
widget
  1. Sync widget published option
client model
  1. Sync picture

exodom's People

Watchers

 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.