????Facebook???乤????????????????????????????????Augmented Traffic Control??ATC?????????????????????????????????λ???????APP??????????????а??????????????

????ATC
?????????????APP????????????????????????????APP?????????????????繃?????????????????????????????繃??????????????????????????????????????????Σ?????????????????????????????????顣
?????????????????????????????繃?????в????????????????ATC?????????????????????????????NEWT??Network Emulator for Windows Toolkit???????????????????NEWT???????????????????NEWT???????????

 ????NEWT
????????????NEWT??ATC??Щ????????
????ATC????????????????
??????????????Web???????????л?????????繃????
???????????????????????WIFI?£?????????????繃?????????
??????????????????????????????????????????????????????????????????ATC WiFi??????κ????????????????????????Web?????????л??????????????繃??????е???????……
?????????е?С??????????????????????????????ATC????????
????ATC?????????Linux?????????????????鷳?Щ??????????????????????δ?ATC??????????????????????裺
????VMWare???Ubuntu?????????????VirtualBox??????????????????????????????
??????????????????????????????????USB??????????????????WIFI???
????????ATC
????Ubuntu??????WiFi?????????????????????????????????????????Ad-hoc????Android???????????????????????????AP????????Android???????????????????????????????????http://my.oschina.net/eechen/blog/227230?????????????OK???
???????????????ATC???????????????????д??????????https://github.com/facebook/augmented-traffic-control
??????????????Python2.7????汾??????pip??
????sudo apt-get install python-pip python-dev build-essential??
????sudo pip install --upgrade pip
??????????pip???????ATC?????????
????pip install atc_thrift atcd django-atc-api django-atc-demo-ui django-atc-profile-storage
??????????????Django??web??????????????????????ú??л?????????
????1.???django-admin????????μ?django?????
????django-admin startproject atcui
????cd atcui
????2.???atcui/settings.py??????ATC?????????
INSTALLED_APPS = (
...
# Django ATC API
'rest_framework'??
'atc_api'??
# Django ATC Demo UI
'bootstrap_themes'??
'django_static_jquery'??
'atc_demo_ui'??
# Django ATC Profile Storage
'atc_profile_storage'??
)
????3.???atcui/urls.py??urlpatterns ?м???atc??url??棺
...
...
from django.views.generic.base import RedirectView
urlpatterns = patterns(''??
...
# Django ATC API
url(r'^api/v1/'?? include('atc_api.urls'))??
# Django ATC Demo UI
url(r'^atc_demo_ui/'?? include('atc_demo_ui.urls'))??
# Django ATC profile storage
url(r'^api/v1/profiles/'?? include('atc_profile_storage.urls'))??
url(r'^$'?? RedirectView.as_view(url='/atc_demo_ui/'?? permanent=False))??
)