Why everything about Ruby On Rails rocks

What can be done in 15 minutes?

But I’m just a designer

redmine.org is a ticketing system built in rails

heroku.com rails deployment the easy way

tryruby.org the language itself, try the interactive tutorial, for you to make an informed decision.

Everthing you’ve ever tried doing in another language is covered on railscasts.com

checkout a sample of the available screencasts

Saving thumbnails
generating pdf documents
build ecommerce apps with payment gateway support
Allowing login from external usernames such as from twitter, facebook

as you can see the railscasts and a great reason to use ruby.

RefineryCMS: a great prebuilt cms written with rails

Check this video on vimeo for a run down on it.

RadiantCMS: another cms to chose from.

Typo this is one of the projects that has been around the longest.

Posted in Uncategorized

How to add a developer to my / join a Heroku app

In heroku, Login to the admin page and in the application add the email of the developer that you want to give access to.

Once the developer has registered and activation his heroku account he can do the following.

not as root:

ssh-keygen

type in a passphrase that you can remember, as you have to type it in twice when you generate.

If you (the developer) had heroku setup correctly then do this.

heroku list

This will ask the developer for his credentials, which are the email account he registered with and password, this is where it will upload the public key to the server (hence that computer can talk to heroku)

The then successful “heroku list” command will display the applications that developer has access to.

To “download” the file do the following:

git clone git@heroku.com:your-application.git

Now you should have your own local repository of that application available.

go into the app folder and make an new file with your favourite editor and save the file with some test text inside of it.

do the following

git add filename
git commit -m "added a file"

git should then ask you again for your ssh key passphrase which you should have remembered.

now in the main folder of you heroku application you should be able to test the application.

script/server

You can then tweak the project to no end, and even saving changes to your local repository using git add . and git commit.

when all your changes run without a glitch you can do the following.

git push heroku master

If this didn’t work, check to see if heroku is in the list of remote servers for the repo

git remote -v

instead of heroku try origin.

git push origin master

you can then test the live site at yourapplication.heroku.com

Hope you have enjoyed this, if you need help in creating a new app as opposed to joining one I can create a guide, but editing a project from another computer was the main issue I was having myself as there are many guide on just getting heroku up and running.

Posted in Uncategorized

Installing RubyGems 1.3.7 / Heroku on Debian 5

In order to install Heroku on debian you will need the latest version of rubygems, which isn’t in the repository.

In order to install the latest rubygems do this:

wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.zip
unzip rubygems-1.3.7
cd rubygems-1.3.7
ruby setup.rb

and then you will need to install ruby on rails 2.3.8

gem install -v=2.3.8 rails

you will also need git

apt-get install git

apt-get install git-core

And finally install heroku

gem install heroku

More on how to use heroku will be discussed in a future article.

Posted in Uncategorized