Edit detail for HowToInstall revision 1 of 1

1
Editor: Uwe Grauer
Time: 2008/08/26 16:55:49 GMT+0
Note:

changed:
-
Be sure you satisfy the [Requirements for Dabo]. InstallPreRequisites include:

- [Python] 

- [wxPython]: [wxWidgets] package for Python

- MySQLdb package for Python (if you'll be connecting to a MySQL database)

- [kinterbasdb] package for Python (if you'll be connecting to a Firebird database)

- psycopg2 package for Python (if you'll be connecting to a PostgreSQL database)

- pysqlite2 package for Python (if you'll be connecting to a SQLite database)

- SubVersion client is the best way to get the latest Dabo source code.




On Mac, you need to use 'pythonw' instead of 'python'.

---- 

A good overview of installation of [wxPython] can be found at WxPyWiki:Getting_Started 

----

TedRoche

PaulMcNett

EdLeafe

----
For Gentoo users I have created a dabo ebuild and an ebuild for setuptools which is needed to install dabo.  These ebuilds can be found on my home page http://www.electron.me.uk

Regards,

Geoff
----
For Ubuntu (and probably any apt based system) here are my getDabo and TestDabo scripts:

<code><pre>
# getdabo.sh
# gets dabo and dependencies, create site-packages symlink.

# -e exit on error, -x print commands
set -ex

sudo apt-get --yes install python-reportlab python-wxgtk2.6 subversion python-pysqlite2 python-mysqldb

mkdir projects
cd projects
svn checkout http://svn.dabodev.com/dabo/trunk dabo

cd `python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`

sudo ln -sf $OLDPWD/dabo
</pre></code>

----

<code><pre>
# testdabo.sh
# runs the DaboDemo app
set -ex
cd projects/dabo/demo
python DaboDemo.py
</pre></code>


Hmm... the wiki adds tags to the pre and code text.  I can almost supply a command to grab these scripts from this page:

<code><pre>
'wget http://dabodev.com/wiki/HowToInstall && awk '/# getdabo.sh/,/testdabo.sh/' HowToInstall >getdabo.sh'
</code></pre>

but there are p tags in there.  I would use linx -dump, but that isn't installed on a fresh install.


Be sure you satisfy the Requirements for Dabo. InstallPreRequisites include:

  • Python
  • wxPython: wxWidgets package for Python
  • MySQLdb package for Python (if you'll be connecting to a MySQL database)
  • kinterbasdb package for Python (if you'll be connecting to a Firebird database)
  • psycopg2 package for Python (if you'll be connecting to a PostgreSQL database)
  • pysqlite2 package for Python (if you'll be connecting to a SQLite database)
  • SubVersion client is the best way to get the latest Dabo source code.

On Mac, you need to use pythonw instead of python.


A good overview of installation of wxPython can be found at WxPyWiki:Getting_Started


TedRoche

PaulMcNett

EdLeafe


For Gentoo users I have created a dabo ebuild and an ebuild for setuptools which is needed to install dabo. These ebuilds can be found on my home page http://www.electron.me.uk

Regards,

Geoff


For Ubuntu (and probably any apt based system) here are my getDabo and TestDabo? scripts:

# getdabo.sh
# gets dabo and dependencies, create site-packages symlink.

# -e exit on error, -x print commands set -ex

sudo apt-get --yes install python-reportlab python-wxgtk2.6 subversion python-pysqlite2 python-mysqldb

mkdir projects cd projects svn checkout http://svn.dabodev.com/dabo/trunk dabo

cd `python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`

sudo ln -sf $OLDPWD/dabo


# testdabo.sh
# runs the DaboDemo app
set -ex
cd projects/dabo/demo
python DaboDemo.py

Hmm... the wiki adds tags to the pre and code text. I can almost supply a command to grab these scripts from this page:

wget http://dabodev.com/wiki/HowToInstall && awk /# getdabo.sh/,/testdabo.sh/ HowToInstall >getdabo.sh

but there are p tags in there. I would use linx -dump, but that isn't installed on a fresh install.