This section is meant to help you set up an environment like the one in this lab. Obviously it helps to have access to lab equipment, such as a CUCM, Unity Connection, or other servers and devices that you can use to test against.
Since you probably are familiar with setting that part of the infrastructure up, we will focus on the development side of things. These instructions will diverge slightly, depending on the machine and operating system you intend to use for development (e.g. Mac, Windows, Linux). But in general, here are some tips to get up and running:
To get started, you need to make sure your machine is set up properly for Python development.
Once your development machine is up and running, time to clone our repo.
Now you're at the point where a few customizations may be required and then you can run the app.
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Python: hello_world.py", "type": "python", "request": "launch", "program": "${workspaceFolder}/examples/hello_world.py", "console": "integratedTerminal", "justMyCode": true }, { "name": "Python: soap_axl.py", "type": "python", "request": "launch", "program": "${workspaceFolder}/examples/soap_axl.py", "console": "integratedTerminal", "justMyCode": true }, { "name": "Python: soap_sxml.py", "type": "python", "request": "launch", "program": "${workspaceFolder}/examples/soap_sxml.py", "console": "integratedTerminal", "justMyCode": true }, { "name": "Python: wxc_enable_user.py", "type": "python", "request": "launch", "program": "${workspaceFolder}/examples/wxc_enable_user.py", "console": "integratedTerminal", "justMyCode": true }, { "name": "Python: service_app.py", "type": "python", "request": "launch", "program": "${workspaceFolder}/examples/service_app.py", "console": "integratedTerminal", "justMyCode": true }, { "name": "Python: wbx_messages.py", "type": "python", "request": "launch", "program": "${workspaceFolder}/examples/wbx_messages.py", "console": "integratedTerminal", "justMyCode": true }, { "name": "Start LTRCOL-2574 Portal", "type": "python", "request": "launch", "module": "flask", // https://flask.palletsprojects.com/en/1.1.x/config/#configuring-from-environment-variables "env": { "FLASK_APP": "app.py", "FLASK_ENV": "development", "FLASK_DEBUG": "0" }, "args": [ "run", "--host=0.0.0.0", "--no-debugger", "--no-reload" ], "jinja": true } ] }