Facebook?????????????ATC???
???????????? ???????[ 2015/7/3 14:43:46 ] ??????????????????
????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))??
)
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11