PRODUCT : Rapture Getting Started Guide


1. Set up your Rapture Client environment

In this section you will:

  1. Download the Rapture Client to your computer.  Currently this is part of Rapture Tutorials and will include some getting started Tutorials for you. 

  2. Start a Rapture shell by running the Rapture Setup Script.

  3. Choose a Tutorial to start in any language you are interested in.

 


2. Download the Client 

Use git to clone the Incapture/RaptureTutorials project or download a pre-built client zip directly from github. If you need a git client please go here:

https://git-scm.com/downloads

Once you have git installed:


3. Starting a Rapture shell 

Starting a Rapture shell will configure a terminal setup for connecting to your Rapture server
ReflexRunnerA Rapture App to run native Rapture scripts from your Client
Environment Variables
  • RAPTURE_HOST
  • RAPTURE_USER
  • RAPTURE_TUTORIAL_CSV
  • RAPTURE_HOME

 

MAC:  In a terminal window starting in /RaptureTutorials directory:

_$ cd Setup
_$ ./rapture.sh

 

WINDOWS: From a CMD prompt starting in /RaptureTutorials directory:

_\> cd Setup
_\> rapture.bat

 

You will be prompted for your Incapture Developer Portal username and password.

 

Next issue this command to get to the Rapture Tutorials home directory.

MAC:

_$ cd $RAPTURE_HOME


WINDOWS:

_\> cd %RAPTURE_HOME%

 


4. Start a Tutorial

Make sure that you have the correct JDK version installed (1.8 or higher). You can download here:

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

So your environment is ready to go lets dive into a tutorial!

The tutorials are expressed in three different languages and cover the same objectives: 

  1. Upload a CSV file to a Blob repository
  2. Create a Document based on the CSV blob
  3. Create a Series using the Document data
  4. Run report code to create and view a pdf (blob) report. (Note: This step is only available in the JAVA version of the tutorial)

 

Prerequisites

Before beginning this demonstration of Rapture it is expected that your environment satisfies the following pre-requisites

  1. Java JDK 8

  2. If you are building the Java tutorial code:

    1. Git

    2. Gradle

  3. For the Python Tutorial:

    1. Python 2.7.10 (or later) and the following modules:

    2. pip install requests (https://pypi.python.org/pypi/requests)

    3. pip install numpy (https://pypi.python.org/pypi/numpy)