Development talk:Setting up Netbeans: Difference between revisions
From MoodleDocs
Frank Ralf (talk | contribs) |
No edit summary |
||
Line 34: | Line 34: | ||
:::::: Hi Jeff, I would suggest moving this discussion to the appropriate forum to give more people the chance to join. This here is quite a private place and should preferably only be used for issues directly connected to this Moodle Docs page. Thanks in advance! --[[User:Frank Ralf|Frank Ralf]] 10:29, 10 July 2009 (UTC) | :::::: Hi Jeff, I would suggest moving this discussion to the appropriate forum to give more people the chance to join. This here is quite a private place and should preferably only be used for issues directly connected to this Moodle Docs page. Thanks in advance! --[[User:Frank Ralf|Frank Ralf]] 10:29, 10 July 2009 (UTC) | ||
::::::: Which is "the appropriate forum" for this subject? [[User:Jeff Forssell|Jeff Forssell]] 21:04, 15 August 2010 (UTC) | |||
:::::: "localhost" is always the local PC itself. You can access it from other computers by using the PC's IP address (use "ipconfig" in a DOS box) or by modifying the "hosts" file on your PC. | :::::: "localhost" is always the local PC itself. You can access it from other computers by using the PC's IP address (use "ipconfig" in a DOS box) or by modifying the "hosts" file on your PC. |
Revision as of 21:04, 15 August 2010
CVS instructions
I copied the instructions from Gary Anderson's NetBeans for Moodle Development course (http://moodle2.seattleacademy.org/wiki/index.php/Get_the_Moodle_Software, http://moodle2.seattleacademy.org/course/view.php?id=5). There might be some redundancies which still have to be amended. --Frank Ralf 09:43, 20 May 2009 (UTC)
- I was in the Gary Andersson course and there was a prepared package there with both NetBeans and Moodle. But Right now I can't get to that course at all. I am setting up on another computer and would like to have the latest NetBeans 6.7, and set up Moodle preferably both 1.9.5+ and HEAD 2.0.
- When I see the instructions here I don't see anything about getting the xamp server setup.
- I also wonder about if one should maybe use a complete install package first than connect that to NetBeans and after that try doing CVS updating through NetBeans. (I maybe wrong, but I assume that doing a complete install via CVS would take much longer.) I also assume that I must than create an extra Moodle database in MySQL and of course a separate folder if I want to install 2.0 also. Jeff Forssell 13:02, 9 July 2009 (UTC)
- Hi Jeff, If you want to use CVS you should do a manual installation.
- Setting up XAMPP is nothing more than downloading and unpacking it, really painless. The web server's directory will be \htdocs\.
- Then you install NetBeans 6.7 and do separate CVS checkouts for HEAD (2.0) and 1.9.5 into separate directories (e.g. \htdocs\moodle19\ and \htdocs\moodle20\.
- Then you can run Moodle 1.9.5 under "localhost/moodle19/" in your browser and Moodle "localhost/moodle20/".
- Further details for manually setting up Moodle you'll find under Windows installation using XAMPP. hth --Frank Ralf 13:42, 9 July 2009 (UTC)
- Hi Jeff, If you want to use CVS you should do a manual installation.
- Thanx
- I've done lots of xampp installs of the Moodle complete packages, but never just xampp alone. Should I interpret your answer as I have to install Moodle via CVS if I want to use CVS to keep it updated? And that it won't be ridiculously long time doing the original checkout? In the GA course we did a CVS update of the original install, but I don't know if he had done that package by doing a CVS checkout. (It just doesn't feel like that was what was going on!)
- The first checkout might take some time, but as far as I remember it's done in about 15 minutes. --Frank Ralf 16:02, 9 July 2009 (UTC)
- I've done lots of xampp installs of the Moodle complete packages, but never just xampp alone. Should I interpret your answer as I have to install Moodle via CVS if I want to use CVS to keep it updated? And that it won't be ridiculously long time doing the original checkout? In the GA course we did a CVS update of the original install, but I don't know if he had done that package by doing a CVS checkout. (It just doesn't feel like that was what was going on!)
- Oh well I suppose it's time to learn to create MySQL databases for Moodle without complete packages or Fantastico! Jeff Forssell 15:04, 9 July 2009 (UTC)
- XAMPP comes with PHPMyAdmin for MySQL administration. That's a very useful tool and worth exploring. --Frank Ralf 16:02, 9 July 2009 (UTC)
- Oh well I suppose it's time to learn to create MySQL databases for Moodle without complete packages or Fantastico! Jeff Forssell 15:04, 9 July 2009 (UTC)
- Just another thing: Moodle 2.0 requires quite recent versions of PHP and MySQL. So for using HEAD I had to install a new version of XAMPP (I have two versions installed on my development machine which is no problem, you only should not run them at the same time). --Frank Ralf 16:14, 9 July 2009 (UTC)
- I have now CVSed moodle 1.9 with NetBeans - it took less than 10 mins. Created a new project. Then it started "scanning projects" - I didn't know what it is doing and it wasn't finished after more than 10 minutes. I see now that it has stopped. Anyhow now I\ve also done the same with HEAD / moodle20.
- Just another thing: Moodle 2.0 requires quite recent versions of PHP and MySQL. So for using HEAD I had to install a new version of XAMPP (I have two versions installed on my development machine which is no problem, you only should not run them at the same time). --Frank Ralf 16:14, 9 July 2009 (UTC)
- I have some hesitation about trying to "run" them. Anything one should do before that other than creating the projects? Jeff Forssell 08:55, 10 July 2009 (UTC)
- I see when trying to RUN that my moodle 2.0 is in http://localhost/moodle20/moodle/install.php while i thought it would be in http://localhost/moodle20/install.php. Maybe that's good because the NB proj files are in a folder there too.
- When I get to the "web address" page that is greyed out. I was hoping to try out setting the computer name so I could access from others on my intranet. How can I change that (from "localhost")?
- Hi Jeff, I would suggest moving this discussion to the appropriate forum to give more people the chance to join. This here is quite a private place and should preferably only be used for issues directly connected to this Moodle Docs page. Thanks in advance! --Frank Ralf 10:29, 10 July 2009 (UTC)
- Which is "the appropriate forum" for this subject? Jeff Forssell 21:04, 15 August 2010 (UTC)
- "localhost" is always the local PC itself. You can access it from other computers by using the PC's IP address (use "ipconfig" in a DOS box) or by modifying the "hosts" file on your PC.