public
Fork of sudara/alonetone
Description: alonetone - a damn fine musician's home. Upload mp3s, create playlists, track listens, get your widget on. (looking for dev help!)
Homepage: http://alonetone.com
Clone URL: git://github.com/taansen/alonetone.git
Clean up private keys and so on for open source
sudara (author)
Tue Mar 11 09:14:21 -0700 2008
commit  7543800cb4ad0c07ed77a0f78333b159b068565d
tree    dbf7e03d51701469755c01e17b87efe374520f10
parent  3650e66578a710a212c958a94a658f8e71a67511
...
3
4
5
 
6
7
8
...
3
4
5
6
7
8
9
0
@@ -3,6 +3,7 @@ db/schema.rb
0
 db/schema.sql
0
 config/accelerator_tasks.rb
0
 config/deploy.rb
0
+config/alonetone.yml
0
 config/database.yml
0
 config/amazon_s3.yml
0
 config/defensio.yml
...
1
2
3
4
 
5
6
7
...
1
2
3
 
4
5
6
7
0
@@ -1,7 +1,7 @@
0
 class ApplicationController < ActionController::Base
0
   helper :all # include all helpers, all the time
0
 
0
- protect_from_forgery :secret => 'f90bac24ac12962052d00bfc2bd34ef2'
0
+ protect_from_forgery :secret => APP_SECRET
0
   
0
   include AuthenticatedSystem
0
   include ExceptionLoggable
...
71
72
73
74
75
 
 
76
77
78
79
80
81
82
 
83
84
85
 
86
87
88
...
90
91
92
93
 
94
95
 
96
97
98
...
138
139
140
141
 
142
143
144
145
146
 
147
148
149
150
151
152
 
 
153
154
 
155
156
...
71
72
73
 
 
74
75
76
77
78
79
80
81
 
82
83
 
 
84
85
86
87
...
89
90
91
 
92
93
 
94
95
96
97
...
137
138
139
 
140
141
142
143
144
 
145
146
147
148
149
 
 
150
151
152
 
153
154
155
0
@@ -71,18 +71,17 @@
0
   %p.answer
0
     Nope. There are many places that you can sell your music at, if you want to take a crack at it.
0
     %br
0
- %br I personally believe (and always have) that selling mp3s really won't bring the average musician much luck,
0
- %br but you can always try. If you have success, let me know!
0
+ %br I personally believe (and always have) that selling mp3s really won't bring the average musician much luck.
0
+ %br If you have a marketing machine behind you or already have 1000s of fans, this is another story.
0
 .faq
0
   %h2.question
0
     But I want to make money with my music.
0
   %p.answer
0
     I believe that you can and should be able to. But not by selling mp3s, sorry. The music world is changing fast,
0
     and the selling mp3s option is a short-term and short-lived last ditch effort on behalf of the changing industry.
0
- At this point, your best bet is to play live, or get your music into as many hands as you can.
0
+ Radiohead and NIN are getting away with it...but you? At this point, your best bet is to play live, or get your music into as many hands as you can.
0
     =link_to 'We can help with the latter.', signup_path
0
- As far as other 'new' methods, I've got a couple ideas along these lines, some of which play off of alonetone. In time, you
0
- might see some of them appear! Ask me about them if you want at sudara [AT] alonetone [dizzot] com
0
+ As far as other 'new' methods, I've got a couple ideas along these lines, some of which play off of alonetone. In time, you might see some of them appear! Ask me about them if you want at sudara [AT] alonetone [dizzot] com
0
 .faq
0
   %h2.question
0
     So, I can basically upload my music and give it away. That's it? Oh, and it's free.
0
@@ -90,9 +89,9 @@
0
     That is the most important bit, but there is more.
0
     %br
0
     %br You can create and organize playlists of your music or the music of others.
0
- You can track who is listening to your music, and where.
0
+ You can track who is listening to your music, andfrom where.
0
     You can put your music on any website, and we handle all of the traffic.
0
- You upload it once here, then use it wherever you want.
0
+ You upload it once here, then use it wherever you want(facebook, myspace, etc)
0
     %br
0
     %br
0
     Anywho, nothing to lose, so stop reading, take 45 seconds and
0
@@ -138,18 +137,18 @@
0
   %h2.question
0
     No, I mean I'm a programmer. Gimme the specs!
0
   %p.answer
0
- I've written about 1300 lines of ruby and about the same amount of javascript and css.
0
+ alonetone is about 2000 lines of rails code and about the same amount of javascript and css.
0
     %br We use
0
     =link_to 'Attachment_fu', 'http://svn.techno-weenie.net/projects/plugins/attachment_fu/'
0
     =link_to 'Amazon S3 for mp3 hostng', 'http://aws.amazon.com'
0
     SASS, will_paginate, rspec,
0
- %br Sound is done with Sound Manager and unobtrusive javascript (Low Pro!)
0
+ %br Sound is done with Sound Manager and unobtrusive javascript (Low Pro)
0
 .faq
0
   %h2.question
0
     Is the code open sourced?
0
   %p.answer
0
- Indeed. And I could use a hand if you are willing rails developer and/or designer. The rails code is available in the
0
- =link_to 'alonetone git repository', 'http://gitorious.org/projects/alonetone/'
0
+ Indeed. It is available via git at the
0
+ =link_to 'alonetone git repository', 'http://github.com/sudara/alonetone/wikis'
0
     and you can
0
- =link_to 'browse it here', 'http://gitorious.org/projects/alonetone/repos/mainline/tree/HEAD'
0
+ =link_to 'browse the latest release here', 'http://github.com/sudara/alonetone/tree/master
0
     
0
\ No newline at end of file
...
32
33
34
35
36
 
 
37
38
39
...
32
33
34
 
 
35
36
37
38
39
0
@@ -32,8 +32,8 @@ Rails::Initializer.run do |config|
0
   # Your secret key for verifying cookie session data integrity.
0
   # If you change this key, all old sessions will become invalid!
0
   config.action_controller.session = {
0
- :session_key => 'alonetone_com',
0
- :secret => 'a4d29e5816af66e4d87de0caa774c14e21a851a223496eaa03b7960529f73dfb69374da11984a09e6abc4765bfa944b7e5d77320507af13e77f6ec58f3c4f1f6'
0
+ :session_key => 'your_website_com',
0
+ :secret => 'your_secret_key'
0
   }
0
 
0
   # Use the database for sessions instead of the cookie-based default,
...
4
5
6
 
 
 
7
8
9
...
4
5
6
7
8
9
10
11
12
0
@@ -4,6 +4,9 @@ SVN_COMMAND = 'svn info'
0
 BRIGHTNESS = ''
0
 LASTCHANGED = Date.today
0
 
0
+# Set the protect_from_forgery secret key in alonetone.yml
0
+APP_SECRET = YAML.load_file(File.join(RAILS_ROOT,'config','alonetone.yml'))['alonetone']['secret']
0
+
0
 # MAKE FACEBOOKER HAPPY
0
 ActionController::Base.asset_host = ''
0
 

Comments

    No one has commented yet.