wiki:InstallationGuidelines/Windows/Developer/Installer

Version 28 (modified by Jacob, 9 years ago) ( diff )

--

Installation Guidelines: Windows - Developer (Installer)

If you are a Developer running Windows and wishing to install Python & all dependent libraries manually then this is the right page for you.

This installer allows for quick installation of Python and all required dependencies required.

It is designed for use by Developers.

Includes everything you need to start working with (and on) Eden:

  • Python-2.7.2.msi
  • lxml-2.3.win32-py2.7.exe
  • Shapely-1.2.13.win32-py2.7.exe
  • pywin32-216.win32-py2.7.exe
  • xlrd-0.7.1.win32.exe
  • xlwt-0.7.2.win32.exe
  • PIL-1.1.7.win32-py2.7.exe
  • matplotlib-1.1.0.win32-py2.7.exe
  • numpy-1.6.1-win32-superpack-python2.7.exe
  • reportlab-2.5.win32-py2.7.exe
  • pyserial-2.5.win32.exe
  • ipython-0.12.win32-setup.exe
  • dateutil-1.5.tar.gz
  • tweepy-1.8.tar.gz
  • web2py 1.99.7 (2012-04-06 09:12:48)
  • eden 6b2cc5b (2012-04-22 17:05:51)

Start Eden

Once you've run the installer, and you just want to try your installation of Eden, without Eclipse, you can start web2py from the command line:

cd C:\Path\To\Installation\web2py
C:\Python27\python.exe web2py.py

N.B: Obviously replace Python27 with your own version of Python.

Or if you prefer, you can start it from the GUI (Graphical User Interface):
Click Start > My Computer.
Browse to the directory with "web2py.py" and the Eden program inside.
Double click the web2py.py file - this should start up web2py, which will look something similar to this:

http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Windows/Developer/Installer/web2py_1.jpg

Enter a one time admin password and hit "start server". Then you can go open http://127.0.0.1:8000/eden in your internet browser to run Sahana Eden.

Getting the latest revision

Note: This will reuse any pre-installed Python-2.7 environment.
Note: You do not need to do this if you used the installer.exe file unless you wish to update your eden version to the latest change.

  • Install Git and set up an account on GitHub:
  • Fork your own copy of Eden:
  • Update your local repo:
    cd web2py\applications\eden
    git pull
    
  • Modify the source for this version, by editing eden\.git\config
    url = git@github.com:mygitusername/eden.git
    
  • Add trunk as the upstream:
    git remote add upstream git://github.com/flavour/eden.git
    
  • copy private/templates/000_config.py to /models and set FINISHED_EDITING_CONFIG_FILE = True

Next:

Install Eclipse

If you want a graphical debugger and full-featured IDE to set breakpoints & step through code then it is recommended to install Eclipse:

Developer Guidelines

Now, see how to put your installation to work:

Maintenance

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.