| 5 | * prepare an app with the service to test - you may start with the examples below or use the ''templater'' tool [https://github.com/pepperhacking/robot-jumpstarter#template-python-service robot-jumpstarter] (use a ''new name'' for your service): |
| 6 | {{{ |
| 7 | ssh aurora |
| 8 | cd /nlp/projekty/pepper/web/robot-jumpstarter |
| 9 | python jumpstart.py python-service tweety-service TweetyService |
| 10 | cp -a output/tweety-service ~/pepper/ |
| 11 | }}} |
| 12 | Here `tweety-service` is the directory name of the application (and the app name), `TweetyService` is the API name of your service as it will be called from Python.[[br]] |
| 13 | * copy the directory with the service app (e.g. `~/pepper/tweety-service`) to your computer, where you run Choregraphe. All the following steps are done on this computer, ''not remotely'' via SSH. |
| 14 | * start Choregraphe and [../Introduction#virtualrobot run the virtual robot] |
| 15 | * find out the ''port number'' of your virtual robot: click [[Image(pepper_connect.png, valign=top)]] [[br]] |
| 16 | and remember the `IP` and `port` from the table:[[br]] |
| 17 | [[Image(pepper_virtual_port.png)]][[br]] |
| 18 | Here the virtual robot's address is `localhost:34121` |