Skip to content

cenit-io/cenit_cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collections

This gem build a new Shared Collection (integration settgings) to be use in Cenit.

Cenit is an open source social platform as a service for data and business integration.

Installation

$ gem install cenit_cmd

Using cenit cmd

$ cenit collection foo --source=file.json

By default its possible read the options from ./gitconfig

Bootstrap a new collection

Before proceeding, take a minute to setup your git environment, specifically setup your name and email for git and your username and token for GitHub:

$ git config --global user.email [email protected]
$ git config --global user.name 'John Doe'
$ git config --global github.user johndoe
$ git config --global github.token 55555555555555

If you prefer use explicit options then you can do

$ cenit collection foo --source=file.json [email protected] --github-username=sanchojaf 

Other options are:

Option Descrition
--user-name=[USER_NAME] the user's name, ie that is credited in the LICENSE
--user-email=[USER_EMAIL] the user's email, ie that is credited in the Gem specification
--github-username=[GITHUB_USERNAME] username in Github
--summary=[SUMMARY] specify a summary (defaults 'Shared Collection cenit-collection-foo to be use in Cenit')
--description=[DESCRIPTION] specify a description (defaults 'Shared Collection cenit-collection-foo to be use in Cenit')
--homepage=[HOMEPAGE] the homepage for your project (defaults to the GitHub repo)
--source=[PATH SOURCE JSON] the json source for your shared collection

Structure

% tree
.
├── cenit-collection-foo.gemspec
├── Gemfile
├── .gitignore
├── .rspec
├── README.md
├── Rakefile
├── LICENSE
└── lib
    └── cenit
        └── collection
            └── foo
                 └── connections
                 └── webhooks
                 └── connection_sets
                 └── translators
                 └── events
                 └── flows
                 └── libraries
                 └── index.json
                 └── build.rb
                 └── version.rb
            └── foo.rb
└── spec
    └── cenit
        └── collection
            └── foo_spec.rb
    └── spec_helper.rb
    └── support
        └── samples

Consider the next steps in your new collection repo

Move to the new collection folder.

$ cd my_collection

Create a new git and related GitHub's repository

$ rake create_repo

Commit and push until you are happy with your changes, see a real example in https://github.com/cenit-hub/cenit-collection-twilio

Generate a version

$ rake version:write

Tag and push release to git

$ rake git:release

Shared your collection in https://rubygems.org

$ rake release

Contributing

  1. Fork it ( https://github.com/openjaf/cenit_cmd/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request ~

About Cenit

Why were doing this

A common story for companies is the blending of solutions around its core business value. Features developed by them, third-party's adaptations and other SaaS to facilitate operations.

Once grown enough a new expansion requires a huge integration effort. But available integration solutions are heavy process. Some of them also need B2B transactions using complex EDI standards required for large companies or business sectors.

This facts overkill many companies that can’t overcome these challenges.

General Features

  • 100% Open Source platform as a service (Open-PaaS).
  • Hub with a great design that provides powerful yet simple abstractions, making a complex problem tractable.
  • Primary concepts are: Data Type, Webhook, Flow, Event, Connection and Transform.
  • Dynamic load schemas: XSD, JSON and EDI grammars.
  • Powerful transform to translates and modified any formats to any format.
  • Full Stack HTTP API and incremental API's helper libraries in several languages.
  • Export and import integration settings (collections), and automatically saves its as a repo on github.
  • Social networking features to share collections.

Shared Collections

There are now over 25 pre-built shared integration collections out the box for connecting to internet services, fulfilment solutions, accounting, communications, ERP, multi-channels, etc.

Join us

About

Command line utility to create new shared collection in Cenit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages