Browse files

better guideline

  • Loading branch information...
1 parent 7523c2b commit cbbe76099575984d973bf7b69f1a38631b79734c @tiendung tiendung committed Oct 13, 2008
Showing with 11 additions and 3 deletions.
  1. +9 −0 README.markdown
  2. +2 −3 config/environment.rb
@@ -89,16 +89,25 @@ You'll need some gems, at least:
You can let the system install all required gems for you using following command:
rake gems:install
+ If 'rake gems:install' don't work, just install them manually:
+ sudo gem install rmagick haml json ruby-mp3info aws-s3 rubyzip mocha
+ You may need to install imagemagick before install rmagick gem
+ If you are using Ubuntu you can run 'sudo apt-get install imagemagick libmagick9-dev'
+ If you are using Mac, you can run 'sudo port install imagemagick'
You'll need to install rails 2.1 gem or have a copy in the vendor directory.
rake db:remake
To create a development database, do all migrations and load some bootstrap data.
The development environment will use local storage for file uploading.
After bootstrap data is loaded, you can login using test account with username=test, password=test.
You will see session and current_user information at the end of each page after login.
It's not a bug. It's debug info. You can turn it off by changing show_debug_info to false in alonetone.yml
After login, click on "Upload" button to upload a music file.
### License
@@ -4,6 +4,8 @@
require File.join(File.dirname(__FILE__), 'boot') do |config|
+ # Specify gems that this application depends on.
+ # They can then be installed with "rake gems:install" on new installations.
config.gem 'ruby-mp3info', :lib => 'mp3info'
config.gem 'rubyzip', :lib => 'zip/zip'
config.gem 'googlecharts', :lib => 'gchart'
@@ -23,7 +25,4 @@
config.action_controller.session_store = :active_record_store
config.active_record.observers = :user_observer
- # Make Active Record use UTC-base instead of local time
- # config.active_record.default_timezone = :utc

0 comments on commit cbbe760

Please sign in to comment.