My favorites | Sign in
Project Home Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
JaikuEngine
===========


Getting the code
----------------

You can download the latest released version of JaikuEngine from the
Google Code project at: http://code.google.com/p/jaikuengine

Use this command to anonymously check out the latest project source code:
# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://jaikuengine.googlecode.com/svn/trunk/ jaikuengine-read-only

If you plan to make changes, use this command to check out the code as yourself using HTTPS:
# Project members authenticate over HTTPS to allow committing changes.
svn checkout https://jaikuengine.googlecode.com/svn/trunk/ jaikuengine --username adewale

When prompted, enter your generated googlecode.com password.


Dependencies
------------

* Python 2.5
* docutils: http://docutils.sourceforge.net/
* PyMox: http://code.google.com/p/pymox/ version 0.5.1
* It supports easy_install so you can use: sudo easy_install mox
* If you're using Ubuntu you will need to install the pstats library which is in the python-profilers package.
* Everything else should be included in the checkout :)

Quickstart
----------

To get a development version running:

1. Check out the repository (it's somewhat large due to image binaries):

``svn checkout http://jaikuengine.googlecode.com/svn/trunk/ jaikuengine``

2. Generate API documentation:

``python manage.py build_docs``

3. Run the server with some test data pre-loaded:

``python manage.py testserver common/fixtures/*.json``

4. Browse to localhost:8080 and log in with popular/password


To deploy to Google App Engine

1. Create an application, you can do this on appspot.com

2. Check out the repository (it's somewhat large due to image binaries):

``svn checkout http://jaikuengine.googlecode.com/svn/trunk/ jaikuengine``

3. Edit your ``app.yaml`` and change your application to use the
application identifier you just created

4. Set up some basic config stuff using the helper tool:

``python manage.py config --write-to-file``

5. Deploy

``python manage.py update``

6. Go to your app and create the initial data by going to the url
(you'll need to be logged in to appspot.com as an admin of your
application):

``http://yourapp.appspot.com/install``

Getting Running
---------------

JaikuEngine uses the Django framework as well as most of its development
process, so most actions go through manage.py.

To run the development server::

python manage.py runserver 8080

But most of the time you'll be wanting to load some basic test data, this can
be done with the testserver command (and specifying the data to load)::

``python manage.py testserver common/fixtures/*.json``

Both of these will start a server running at http://localhost:8080.

If you would like to start a server that binds to all interfaces, use::

python manage.py runserver 0.0.0.0:8080


Contributing to the project
---------------------------

We would be happy to consider any additions or bug fixes that you would like to
add to the helper. Please add them as a patch, in unified diff format to the
Issue Tracker at: http://code.google.com/p/jaikuengine/issues/list

Before we can accept your code you will need to have signed the Google
Contributer License. You can find this at:

http://code.google.com/legal/individual-cla-v1.0.html
or
http://code.google.com/legal/corporate-cla-v1.0.html

If you are an Individual contributor you will be able to electronically sign
and submit the form at the URL above. Please ensure that you use the same email
address to submit your patch as you used to sign the CLA.


Reporting Bugs and Requesting Features
--------------------------------------

If you find a bug or would like to request a feature you may do so at the
Google Code issue tracker for this project:

http://code.google.com/p/jaikuengine/issues/entry

Change log

r122 by tony.t.tseng on Nov 30, 2009   Diff
Updated API documentation:
* python 2.4 no longer supported
* added API doc generation instruction

Review URL:
http://rietku.appspot.com/37001
Go to: 
Project members, sign in to write a code review

Older revisions

r121 by tony.t.tseng on Nov 25, 2009   Diff
Rolling back r120. It was committed by
accident.

r120 by tony.t.tseng on Nov 25, 2009   Diff
Updated documentation:
  * python 2.4 no longer works
  * added instruction for API doc
generation

r118 by adewale on Nov 9, 2009   Diff
Updated the documentation to mention
that we depend on PyMox
All revisions of this file

File info

Size: 3945 bytes, 124 lines
Powered by Google Project Hosting