I just recently did a "live install" using Debian 6. I thought I would try to contribute something back to people by giving a short instruction list. I can't guarantee that the list isn't 100% spot on but I think it is close enough to help with getting Dabo running on Debian quickly.
1a. If you control the machine you are installing on: Log in to a bash shell as root. Don't worry about "sudo blah-blah mystuff", just do it, you'll be fine. 1b. If you don't have the root password: If you can't log in to a shell as root, well, prefix the commands with "sudo" and we'll get going. 1c. If you don't have the root password or sudo: Your admin won't give you sudo? Ask them nicely to install the Debian packages listed below in step 2; they are from the official repository and there shouldn't be any reason for concern. 2. From a shell, enter the following as the root user (or if you can't get root, use "sudo apt-get" instead of "apt-get"): apt-get update&&\ apt-get install python python-reportlab python-wxgtk2.8\ python-pysqlite2 python-mysqldb python-kinterbasdb\ python-psycopg2 python-pymssql When prompted for the additional programs and the download, go ahead and answer "Y"es and let the installation complete. This will install all of the needed dependencies for running Dabo, along with the "current" version of python that is in use with Debian. Included will be support for the reporting package, along with the 5 major databases that are currently supported by Dabo. *_At this point, log out of the root account. Everything else from here won't require root!_ * 3. From a shell AS YOU (NOT AS ROOT), download the current dabo source into a separate project directory. Where you place this can be anywhere you want, although I typically create a separate "Project" directory for my home directory, and store all source code and other projects inside of it. So, for the rest of this document, when you see ~/Project you know it means "the Projects directory in my home directory". Typically it looks like the following: mkdir ~/Projects&&\ mkdir ~/Projects/dabo&&\ svn checkout http://svn.dabodev.com/dabo/trunk ~/Projects/dabo Wait a minute or two for the subversion checkout to complete. The check-out will include dabo itself, the demo, the ide, the springboard source, and other bits and pieces, so you have everything that Dabo has to offer. Now you have the latest Dabo version! About once a week, you will want to enter the following command line: svn update ~/Projects/dabo Better yet, put that in a cron job and it will keep it up to date for you automatically, using this command AS YOU (NOT AS ROOT): echo "0 0 * * 2 /usr/bin/svn update ~/Projects/dabo" | crontab This will update Dabo automatically for you at midnight every Tuesday. If you want to change the date, time, or frequency, use the "man 5 crontab" manual page to learn more. 4. From a shell, you'll need to provide a hook to get dabo listed as a system package. The most common shell is bash, and the easiest way to do this would be to enter the following AS YOU (NOT ROOT): echo "export PYTHONPATH=~/Projects/dabo:$PYTHONPATH ">> ~/.bashrc Note the colon (:) in the above path, it is there in case you have other python projects you want to make available to the interpreter. If this is your only project, you can safely remove ":$PYTHONPATH" as it will not be required. 5. Try it out to make sure it's working. Type "python" at a shell prompt, and within python, type "import dabo". You should not see any error messages or have any other responses, the python interpreter should just show ">>>" in response. If you see "ImportError: No module named dabo" then go through step 4 again, as the python installation can't find dabo at all. 6. Enjoy Dabo! I hope this will help others to get Dabo up and running quickly. Please excuse any spelling or grammatical issues as I was in a bit of a hurry when I wrote this, and feel free to improve upon it. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
