In this short article, you will learn how to prepare your development environment to work with Opereto. You can use the Opereto REST API directly (or wrap it with your own tools) to upload and maintain automation services in Opereto. However, we are recommend using our official python client (e.e pyopereto) and CLI for that. Please note that you do not have to develop in Python or replace your dev tools or programming language of choice. All you need is installing python on your development desktop to be able to use it. 



1. Make sure you have python (>2.7) installed on your development desktop 

$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>  

If you do not have Python install, you can download and install it from https://www.python.org/downloads 


2. Install pyopereto

/> pip install pyopereto


3. Add a credentials config file 

Create a file named opereto.yaml in your home directory (e.g. /home/myuser in Linux. C:\Users\myuser in Windows Etc.) containing Opereto access credential. 


~/opereto.yaml

opereto_host: https://your_opereto_service_url
opereto_user: your_opereto_username
opereto_password: your_opereto_password


3. Check the CLI

/> opereto --help



  • At later stage, after you get more familiar with using the CLI, we recommend to add hooks from you IDE to the deploy and run sandbox services


That's it ! You are ready to go.