Archive

Archive for September, 2009

Step-by-step quick installation of Redmine + SVN on Windows

September 15th, 2009 Rahul 4 comments

Through trial and error, I have done a quick setup of Redmine + SVN on Windows.  This does not use Apache and WebDAV.  The Ruby on Rails webserver, Mongrel, is used, and SVN is accessed through svnserve (svn://).  If you need a full deployment of Redmine, with automatic generation of SVN repositories and SVN accounts, this can be a starting point (let me know how you got it to work!).  If you want a quick and dirty setup, this may be the only guide you need!

Here are the steps:

  1. Go to http://rubyonrails.org/download
  2. Install Ruby
  3. Install RubyGems
  4. Run [ gem install rails ]
  5. Run [ gem install mysql ]  (in case we want to use mysql as db, sqlite is fine though)
  6. Run [ gem install rake ]
  7. Run [ gem install sqlite3-ruby ]
  8. Extract redmine (I extracted to C:\Ruby\redmine-0.8.4)
  9. Browse to redmine folder/config
  10. Copy database.yml.example to database.yml
  11. Set database options for production:
    1. In production:
      1. adapter: sqlite3
      2. dbfile: db/prod.db
      3. host: localhost
  12. Get sqlite3.dll from sqlite 3 distribution (http://www.sqlite.org) and put in Ruby/bin directory
  13. Browse to Redmine directory in command prompt
  14. Run [ rake db:migrate RAILS_ENV="production" ]
  15. Run [ rake redmine:load_default_data RAILS_ENV="production" ]
  16. Run [ gem install mongrel ]
  17. Run [ gem install mongrel_service ]
  18. Run [ mongrel_rails service::install -N Redmine_Server -D "Redmine Server on Mongrel" -e "production" ]
  19. Start service and set to “Automatic”
  20. Username: admin Password: admin
  21. Refer to http://www.redmine.org/wiki/redmine/RedmineInstall for SMTP config (If you want emails generated for tickets, etc.)
  22. Install CollabNet SVN as svnservice (WebDAV not needed), svn root C:\svn_repository
  23. Start service “CollabNet Subversion svnserve”
  24. Run [ svnadmin create c:\svn_repository ]
  25. Uncomment anon-access = read, auth-access = write, password-db = passwd in svnserve.conf
  26. Add users to Redmine, have user change password to whatever they want it to
  27. Add users to passwd (same username), all plaintext, so create random passwords for each user and have them record it (cannot be changed unless requested by admin, and admin will know what pw is)
  28. Restart Redmine_Server service
  29. Create subfolders for projects, and trunk/tags/branches for each project
  30. Add svn://localhost/projectname as project root for each project in Redmine
VN:F [1.9.2_1090]
Rating: 5.0/5 (2 votes cast)
VN:F [1.9.2_1090]
Rating: +3 (from 3 votes)

Flex Builder and Eclipse 3.5

September 8th, 2009 Rahul 15 comments

Here’s a blog post by a frustrated developer who seems to have found out how to set up the Flex Builder plugin with Eclipse 3.5 (I have tried it and it works!).  Thank you, frustrated developer!

http://worldwizards.blogspot.com/2009/08/eclipse-35-and-flex-builder.html

From the post:

(1) Download and install Eclipse 3.5. I used the J2EE install.
(2) Download and run the Flex Builder 3 installer.
(3) Ignore all the warnings that it only supports Eclipse 3.3 and 3.4. Just keep telling it that you know what you are doing and want to install it anyway. It will end with a scary message about failing and suggest you do a manual install from inside of eclipse. Don’t do that!
(4) Here is the magic, when it is done there will be a file in your eclipse/links directory called
com.adobe.flexbuilder.feature.core.link
Open that file in wordpad and you will see it contains one line:

C:/Program Files/Adobe/Flex Builder 3 Plug-in

Edit that line so it looks like this:

path=C:/Program Files/Adobe/Flex Builder 3 Plug-in

Save the file and start eclipse. Voilla!

VN:F [1.9.2_1090]
Rating: 5.0/5 (8 votes cast)
VN:F [1.9.2_1090]
Rating: +4 (from 4 votes)
Categories: Flex Tags: , , , ,

Been a while…

September 8th, 2009 Rahul 1 comment

I haven’t posted on this blog in a while since I haven’t been doing much development (just graduated from grad school, hadn’t found a job yet). Well, now that I do have a job, the development blog posts will continue as I find and solve particular developmental problems.

Work environment: C# (.NET/ASP), Adobe Flex, possible iPhone application along the way

VN:F [1.9.2_1090]
Rating: 5.0/5 (1 vote cast)
VN:F [1.9.2_1090]
Rating: 0 (from 0 votes)
Categories: Uncategorized Tags: