Wednesday, May 5, 2010

How to start cyfrowy dorsz?

List of groups, groups of lists here:
16. System oceniania prowadzących
Prowadzący: dr inż. Jacek Dajda
Prowadzący PP: mgr inż. Witold Rakoczy
Zespół: Anna Leśniak, Marcin Nowak, Paweł Obrok Paweł Pierzchała

What do you need to start working on this project:
• VMware
• Ubuntu

Remember, linux is not for people, so you must be cautious when following instructions:
• update sources list
• sudo apt-get install ruby
rubygems (untar, setup.rb)

1. jezeli masz jakiekolwiek rubygemsy to zrob:

$ gem install rubygems-update # again, might need to be admin/root
$ update_rubygems # ... here too


2. jezeli nie, to zainstaluj jakiekolwiek (sudo apt-get install rubygems)
i zrob punkt 1.

• gem install rubygems-update
• update_rubygems
• sudo gem install bundler
• sudo apt-get install ruby1.8-dev
• sudo apt-get install libxml2-dev
• sudo apt-get install libxslt-dev
• sudo apt-get install libsqlite3-dev
• sudo apt-get install libopenssl-ruby
• cd cyfrowy_dorsz/frontend then sudo bundle install
• bin/merb
• localhost:4000

github.com
codegarden (login needed)

Actually none of my fellow developers were able to start it. That is why I copied virtual machine with working application. But it wasn't the last tricky part - I needed to clean public keys and learn how to use git.


git clone git@github.com:obrok/cyfrowy_dorsz.git
git pull origin master (sudo bundle install just to make no gems were added)
git add .
git commit
git push origin master


Remember to perform tests before each commit: rake spec

If some error occur update database: rake sequel:db:migrate

To add user:
bin/merb -i
User.create(:email => "aaa.aaa.pl", :password => "pass", password_confirmation => "pass")


To manage branches is also not my pair of shoes. As my excuse - this is my first experience with git.

0 komentarze:

Post a Comment