Skip to content

Commit

Permalink
better guideline
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendung committed Oct 13, 2008
1 parent 7523c2b commit cbbe760
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 9 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Then,
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
Expand Down
5 changes: 2 additions & 3 deletions config/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
require File.join(File.dirname(__FILE__), 'boot')

Rails::Initializer.run 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'
Expand All @@ -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
end

0 comments on commit cbbe760

Please sign in to comment.