-
This example was developed and tested using Python version 2.7.13. Follow the instructions to prepare python environment.
-
The sample code will need a Preconfigured Flask used for RESTful APIs. Use these steps to install:
pip install flaskor
sudo pip install flaskIf you have any further issues, visit Flask
- Use git clone or download the source code onto your machine.
- Open the terminal on your machine.
- Navigate to the directory where you downloaded the code.
- Launch server.
python server.pyyou will be ask for inputting the the ip address of your machine - Open the http://your machine ip:5003/ in your browser
- docker build -t icn
- docker run --name icn_demo -p 5013:5013 icn
- docker restart icn_demo