From b6cb95ea0b02da076487643516839770042a7f8e Mon Sep 17 00:00:00 2001 From: Vinicius Figueiredo Date: Fri, 8 Mar 2019 09:43:39 -0300 Subject: [PATCH 1/2] Updates to make this project work --- .gitignore | 3 +++ README.md | 11 ++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1dbc687..6ca93d5 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,6 @@ target/ #Ipython Notebook .ipynb_checkpoints + +#Virtualenv +.env/ diff --git a/README.md b/README.md index b9db132..dcfff14 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,14 @@ All this data are available online, therefore the examples are only given to sho ## CDNSim uses Python2 and some libraries +###Create Virtualenv + +virtualenv2 -p path/to/python2.7 .env + +###Activate virtualenv + +source ./env/bin/activate + ### py2-ipaddress: *Python 2.7 backport* of 3.3's ipaddress module. @@ -40,8 +48,9 @@ or on Ubuntu/Debian: sudo apt-get install python-subnettree or visit: https://pypi.python.org/pypi/pysubnettree/ ### NetworkX: +*Works on version 1.9.1* -pip install networkx +pip install networkx=1.9.1 or on Ubuntu/Debian: sudo apt-get install python-networkx From 7ccab5deea416b379ffd86136a1ff2aff4c97e17 Mon Sep 17 00:00:00 2001 From: Vinicius Figueiredo Date: Fri, 8 Mar 2019 09:45:17 -0300 Subject: [PATCH 2/2] Fix Readme.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dcfff14..32eb9eb 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ All this data are available online, therefore the examples are only given to sho ## CDNSim uses Python2 and some libraries -###Create Virtualenv +### Create Virtualenv virtualenv2 -p path/to/python2.7 .env -###Activate virtualenv +### Activate virtualenv source ./env/bin/activate