ผลต่างระหว่างรุ่นของ "Fcamp"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
 
(ไม่แสดง 6 รุ่นระหว่างกลางโดยผู้ใช้ 2 คน)
แถว 44: แถว 44:
  
 
* เริ่มใช้ App Engine helper สำหรับ Django [http://code.google.com/p/google-app-engine-django/]
 
* เริ่มใช้ App Engine helper สำหรับ Django [http://code.google.com/p/google-app-engine-django/]
** Windows:
+
** ดาวน์โหลดของ:
*** ติดตั้ง app engine python SDK: ดาวน์โหลดจาก http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_Python
+
*** ดาวน์โหลด app engine python SDK แบบที่เป็น zip ไฟล์ จาก http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_Python (สำหรับผู้ใช้ windows ด้วยเช่นกัน ไม่ต้องโหลด ตัวที่เป็น installer .msi)
*** ติดตั้ง Python for Windows Extension: http://sourceforge.net/projects/pywin32/
+
*** ดาวน์โหลด django.zip จาก http://theory.cpe.ku.ac.th/~jittat/fcamp/files/django.zip
 
+
*** ดาวน์โหลด app engine django helper: http://code.google.com/p/google-app-engine-django/  (โหลดไฟล์ zip)
 +
** สำหรับผู้ใช้ ubuntu:
 +
*** ติดตั้ง Python 2.5 http://www.inkjetgarden.com/code/0bu01/python-25-in-ubuntu-maverick
 +
*** ติดตั้ง virtual env: sudo apt-get install python-virtualenv
 +
** ติดตั้ง (จะระบุต่อไป)
 +
** ถ้าเรียก <tt>python manage.py runserver</tt> แล้วมีปัญหากับ fancy_urllib ให้แก้ไฟล์ตาม http://code.google.com/p/google-app-engine-django/issues/detail?id=178
 +
** [[fcamp:การแก้ไขสำหรับผู้ใช้ windows 7|การแก้ไขสำหรับผู้ใช้ windows 7]]
 
* Data store API
 
* Data store API
 
* Deployment
 
* Deployment
  
=== วันที่ 3: เครื่องมือเพิ่มพลัง ===
+
=== วันที่ 4: user, less, version control, test ===
 +
* [[fcamp:login_required|login_required]]
  
 
* Version control: [http://mercurial.selenic.com/ mercurial]
 
* Version control: [http://mercurial.selenic.com/ mercurial]
 
* Unit testing
 
* Unit testing
 +
* ขั้นตอนการทำให้สามารถใช้ hg view ใน windows
 +
** ติดตั้ง ActiveTcl [http://www.activestate.com/store/activetcl/download/]
 +
** ค้นหา file Mercurial.ini ในเครื่องของเราจากนั้น เพิ่ม ข้อความ
 +
  [extensions]
 +
  hgext.hgk =
 +
** จากนั้นไป save file จาก link [http://hg.intevation.org/mercurial/crew/raw-file/b43db44cd047/contrib/hgk] แล้ว save เป็นชื่อ hgk.tcl
 +
** นำไฟล์ hgk.tcl ไปวางไว้สักที่เช่น C:\Program Files\Mercurial
 +
** เพิ่มข้อความใน file Mercurial.ini
 +
  [hgk]
 +
  path=C:\Program Files\Mercurial\hgk.tcl
 +
**ลองสั่ง hg view
  
 
=== วันที่ 4 ===
 
=== วันที่ 4 ===
  
 
=== วันที่ 5 ===
 
=== วันที่ 5 ===

รุ่นแก้ไขปัจจุบันเมื่อ 03:34, 29 ตุลาคม 2553

หน้านี้เป็นหน้าสำหรับรวบรวมข้อมูลสำหรับการอบรม fcamp

ลิงก์ด่วน

เนื้อหาและเอกสารประกอบ

วันที่ 1: Django ที่ไม่มีฐานข้อมูล

เครื่องมือ:

วันที่ 2: App Engine

วันที่ 4: user, less, version control, test

  • Version control: mercurial
  • Unit testing
  • ขั้นตอนการทำให้สามารถใช้ hg view ใน windows
    • ติดตั้ง ActiveTcl [2]
    • ค้นหา file Mercurial.ini ในเครื่องของเราจากนั้น เพิ่ม ข้อความ
 [extensions] 
 hgext.hgk =
    • จากนั้นไป save file จาก link [3] แล้ว save เป็นชื่อ hgk.tcl
    • นำไฟล์ hgk.tcl ไปวางไว้สักที่เช่น C:\Program Files\Mercurial
    • เพิ่มข้อความใน file Mercurial.ini
 [hgk]
 path=C:\Program Files\Mercurial\hgk.tcl
    • ลองสั่ง hg view

วันที่ 4

วันที่ 5