no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Next revision
windows [2009-12-16 15:45] – external edit 127.0.0.1
Line 1: Line 1:
 +====== Setting up development on Windows ======
 +The purpose of this section is to explain an OpenGoo development environment on Windows. First we'll go over what you need to run OpenGoo locally, then how to install the EasyEclipse IDE, and finally do some coding and show how to generate and submit patches for inclusion in the official OpenGoo download.
 +==== Running OpenGoo locally ====
 +Running OpenGoo locally on your development computer lets you easily test any changes without having to go through the pain of constantly uploading and downloading to/from a remote server. We're going to assume a plain vanilla installation of Windows without any web server or database server installed.
 +  - Download and install XAMPP, this is the easiest way to get Apache w/PHP support and MySQL running on your Windows computer 
 +    *[[http://www.apachefriends.org/en/xampp-windows.html]]
 +  - Verify Apache is running by hitting your localhost
 +    *[[http://localhost]]
 +  - Verify MySQL is running by opening a command window and logging in to your server using the command ''mysql -u root -p''
 +  - Install the latest version of OpenGoo on to your local computer.
 +    - Download the latest OpenGoo source
 +    - Find your XAMPP htdocs directory, typically this will be ''C:\xampp\htdocs'' and extract the OpenGoo source there
 +    - Rename the OpenGoo source folder to just ''og''. This is very important since ''og'' is the name of the OpenGoo project in the EasyEclipse .project file.
 +    - Complete the installation by following the OpenGoo installation instructions.
 +  - Verify your OpenGoo installation by logging in
 +    * [[http://localhost/og]]
  
 +Once you've completed all the steps you will have a perfectly usable OpenGoo installation on your local computer. At this point, if you prefer to work without an IDE, you can happily hack away at the php source files and view your changes on your local computer without having to upload files to a remote server. You can also use any of your favorite MySQL database tools to log in to your locally running MySQL server and modify the OpenGoo database.\\ 
 +\\ 
 +In my opinion working with an IDE is the way to go, I'll describe how to get the EasyEclipse IDE up and running in the next section.
 +
 +==== Installing EasyEclipse IDE ====
 +The ''.project'' file included in the OpenGoo source download is an EasyEclipse project file. This makes integrating OpenGoo with the EasyEclipse IDE literally a 3 click process.
 +  - Download and install EasyEclipse, on the link below scroll down to "EasyEclipse for PHP"
 +    * [[http://www.easyeclipse.org/site/distributions/index.html]]
 +  - TODO explain changing workspace to opengoo install dir, import, refresh
 +
 +==== Coding ====
 +TODO
 +==== Generating and submitting a patch ====
 +TODO