The Snap Development Documentation guides a developer creating Snaps for the SnapLogic Elastic Integration Platform.
Highlights
-
Open-Source - The Snap Development Docs are a fork of Slate, an open-source API documentation generator. The SnapLogic Community can contribute back, give feedback, open issues etc.
-
Bootstrapped - The Maven archetype (project building tool) that partners the documentation provides eight sample Snaps to learn from and to build upon. A SnapLogic customer can be up-and-running and deploying custom Snaps to their organization within minutes.
-
Detailed - In-depth guides to setting up a Snaplex, and developing and deploying your own Snaps, with explanations, screenshots, and code samples side-by-side, including:
- Creating a Snap
- Reading and writing documents and binary data
- Accepting and validating user input
- Expression-enabled Snap properites
- Suggesting property values
- Understanding Input/Output View Schemas
- Exceptions and Error Views
- Authenticating with Accounts
- Deploying Snap Packs
- Testing Snaps
-
Fast, serverless - Single-page static website.
-
Responsive - Design adapts to screen size (phone, tablet etc.).
-
Searchable - Basic search supported.
-
Portable - Uses Markdown to decouple content from presentation; multiple themes possible.
-
Coherent - Table of Contents dynamically highlights what content you are currently reading.
Contributing Back? Need Help? Found a bug?
Contributing to this documentation is straightforward. Simply fork or clone (SnapLogic employees only) this repository and follow the instructions below.
Submit an issue to the developer.snaplogic.com Github repository if you need any help. And, of course, feel free to submit pull requests with bug fixes or changes.
Running Locally
Prerequisites
You're going to need:
- Linux or OS X — Windows may work, but is unsupported.
- Ruby, version 2.0 or newer
- Bundler — If Ruby is already installed, but the
bundle
command doesn't work, just runsudo gem install bundler
in a terminal.
Getting Set Up
- Fork this repository on Github. (SnapLogic employees can skip this step.)
- Clone your forked repository (not our original one) to your hard drive with
git clone https://github.com/YOURUSERNAME/developer.snaplogic.com.git
cd developer.snaplogic.com
- Initialize and start the Slate server. You can either do this locally, or with Vagrant:
# either run this to run locally
bundle install
bundle exec middleman server
# OR run this to run with vagrant
vagrant up
You can now see the docs at http://localhost:4567. Whoa! That was fast!
Learn more about editing Slate markdown.
If you'd prefer to use Docker, instructions are available in the Slate wiki.