1. Set up your Rapture Client environment
In this section you will:
- Download the Rapture Client to your computer. Currently this is part of Rapture Tutorials and will include some getting started Tutorials for you.
- Start a Rapture shell by running the Rapture Setup Script.
- 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:
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 | |
---|---|
ReflexRunner | A Rapture App to run native Rapture scripts from your Client |
Environment Variables |
|
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:
- Upload a CSV file to a Blob repository
- Create a Document based on the CSV blob
- Create a Series using the Document data
- Run report code to create and view a pdf (blob) report. (Note: This step is only available in the JAVA version of the tutorial)
JAVA Instructions | Reflex/UI Instructions | Python Instructions |
---|---|---|
Rapture Getting Started: Java | Rapture Getting Started: Reflex | Rapture Getting Started: Python |
Prerequisites
Before beginning this demonstration of Rapture it is expected that your environment satisfies the following pre-requisites
Java JDK 8
If you are building the Java tutorial code:
For the Python Tutorial:
Python 2.7.10 (or later) and the following modules:
pip install requests (https://pypi.python.org/pypi/requests)
pip install numpy (https://pypi.python.org/pypi/numpy)
Important Links