일단 아래 주소를 따라한다.

http://www.rasplay.org/?p=3051


ftp접속은 filezilla 이용

접속시 

host : sftp://192.168.219.154

username : pi

password : 비밀번호

port : 22



'Web > Server DJANGO Python' 카테고리의 다른 글

장고 설치 및 환경 설정  (0) 2015.02.28
Posted by 공놀이나하여보세
,

(1) 장고 설치

pip install django


(2) 장고 애플리케이션 서버 실행 및 애플리케이션 실행

http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/Python/DJango/Tutorial01

* 유의할 점

A. urls.py를 수정하고 나면 서버를 다시 실행해야 한다.

B. 3.4 URLconf 설정 시에 잘못된 것이 하나 있어서 고생했다.

아래 코드와 함께 빨간색으로 표시해 두었다.

# cat views.py import datetime from django.http import HttpResponse def hello(request): return HttpResponse("Hello world") def index(request): return HttpResponse("Home page") def currenttime(request): d = datetime.datetime.now() return HttpResponse("Current Time : {0}".format(d)) # cat from django.conf.urls import patterns, include, url from testapp.views import hello, index, currenttime urlpatterns = patterns('', url(r'^$', index), url(r'^currnettime/$', currenttime), url(r'^hello/$', hello) )


(3) 외부 접속

0.0.0.0:8080 그래도 써야 한다.

python manage.py runserver 0.0.0.0:8080


(4) html 으로 실행 가능하게 수정

http://10apps.tistory.com/54

어쨌든 성공!!


흠.. 이건 반만의 성공인 것 같다.

post와 request가 되야 해서 아래 글을 봐야겠다.

http://greenfishblog.tistory.com/category/django

http://simpleisbest.tistory.com/category/프로그래밍/Django



Posted by 공놀이나하여보세
,
Beatsbucket github
Jquary
유투브 사용
Ranking : melon

cloud service : pc browser +
java script + jquary
아마존 서버 : minimum server processing
Addyosmani.com spa : 한번 서버에 연결 후 추가 접속을 하지 않는 방법
Backbone.js Model View Controller
underscore.js : helper
labjs : library load를 보장해줌

Google app engine
melon app engine : 결과가 json으로 넘어옴
YouTube api : data api, analytics, live streaming, player api
oath key를 받아야함 쿼터가 매우 크다

Developers.google.com YouTube api

영상에 대한 대기열
목록에 대한 대기열
Css html5 사용

Bigquary : 구글에서 빅데이터를 실시간으로 분석할 수 있는 플랫폼
Volume velocity variety

Lezhin entertainment
서버개발자
Dremel :
Columnar storage
tree architecture

bigquery vs mapreduce(Hadoop)
- bigquery
interactive data
Sql을 사용해서 실시간으로 다룰 수 있음
등록된 데이터를 수정할 수 없다ㄷ
응답시간 빠름
사용한 만큼 비용 지불
월 기가당 0.12달러
최소 1mb
35.7기가
Select ID from
transaction db 구축

3. material design spec
구글이 제공해줌



Posted by 공놀이나하여보세
,