OpenSPARKL Examples
To use an example
- Save it to your local file system as an
xml
file.
See shortcut below on how to import all example configurations in one go.
- Open the SPARKL Developer Console
- Log into an existing account or create a new one
- To create a new account:
- Click Create a New Account
- Enter your e-mail address
- Enter your chosen password twice
- Try not to forget it
- To create a new account:
- Import the
xml
file - Run it in the Developer Console
Bulk importing all example configurations
Dependencies
- Python 2.7 - get it from here
- Git - get it from here
- The SPARKL CLI - get it from here
- An existing SPARKL user account
Procedure
- Clone the
examples
repository.
$ git clone https://github.com/opensparkl/examples.git
- From the
python_scripts
directory run thebulk_import.py
script.
$ cd examples/python_scripts
$ python bulk_import.py
- Follow the instructions on the terminal screen.
If you choose not to import all examples, the script offers them one by one for importing.
Enter your SPARKL instance URL: https://saas.sparkl.com
Connected to https://saas.sparkl.com using alias this_import_alias
Enter your username: miklos@sparkl.com
Password: **************
Logged in as miklos@sparkl.com
Import all examples? y/n y
All the selected SPARKL example configurations are imported to your user tree at the specified SPARKL instance. The script also creates the Scratch
and Lib
folders in your SPARKL user tree if they are not already there.
See this readme on the library configurations saved under the
Lib
folder.