What are the standard best practices for sharing your rails application on the web? As far as I can tell, you just delete the logs directory and clear out the database.yml What am I forgetting? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Github! All the entries from my .gitignore file: log/*.log log/searchd* tmp/* db/*.sqlite3 db/sphinx/* config/database.yml test coverage coverage/* config/*.sphinx.conf config/deploy.rb ----- Ryan Bigg Freelancer http://frozenplague.net On 18/12/2008, at 2:55 PM, Little Known wrote:> > What are the standard best practices for sharing your rails > application > on the web? > > As far as I can tell, you just delete the logs directory and clear out > the database.yml > > What am I forgetting? > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
why ignore the test dir? dont you want to share those? On Dec 17, 10:28 pm, Ryan Bigg <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Github! > > All the entries from my .gitignore file: > > log/*.log > log/searchd* > tmp/* > db/*.sqlite3 > db/sphinx/* > config/database.yml > test > coverage > coverage/* > config/*.sphinx.conf > config/deploy.rb > > ----- > Ryan Bigg > Freelancerhttp://frozenplague.net > > On 18/12/2008, at 2:55 PM, Little Known wrote: > > > > > What are the standard best practices for sharing your rails > > application > > on the web? > > > As far as I can tell, you just delete the logs directory and clear out > > the database.yml > > > What am I forgetting? > > -- > > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I have a spec dir, not a test dir. ----- Ryan Bigg Freelancer http://frozenplague.net On 18/12/2008, at 3:03 PM, Andrew Bloom wrote:> > why ignore the test dir? dont you want to share those? > > On Dec 17, 10:28 pm, Ryan Bigg <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Github! >> >> All the entries from my .gitignore file: >> >> log/*.log >> log/searchd* >> tmp/* >> db/*.sqlite3 >> db/sphinx/* >> config/database.yml >> test >> coverage >> coverage/* >> config/*.sphinx.conf >> config/deploy.rb >> >> ----- >> Ryan Bigg >> Freelancerhttp://frozenplague.net >> >> On 18/12/2008, at 2:55 PM, Little Known wrote: >> >> >> >>> What are the standard best practices for sharing your rails >>> application >>> on the web? >> >>> As far as I can tell, you just delete the logs directory and clear >>> out >>> the database.yml >> >>> What am I forgetting? >>> -- >>> Posted viahttp://www.ruby-forum.com/. > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Little Known wrote:> What are the standard best practices for sharing your rails application > on the web? > > As far as I can tell, you just delete the logs directory and clear out > the database.yml > > What am I forgetting?To share with other programmers, you develop out of an open version control hub such as RubyForge or GitHub (?). Don''t commit your logs or database.yml, but do commit a database.yml.example with a scrubbed copy of your private database.yml. To share with end-users, you should key your database to a Group model, which has many Staff model objects. When a Staff logs in, they only see database records in their Group. Then you can sell your app - as a service - to as many Groups as you can qualify, and each group cannot see the other groups'' data. -- Phlip --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ryan Bigg wrote:> I have a spec dir, not a test dir.Don''t brag! (-: -- Phlip --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---