Re: mounting multiples app

2013-05-24 Thread låzaro
I'll try it... thanks Thread name: Re: mounting multiples app Mail number: 1 Date: Wed, May 22, 2013 In reply to: David Susco That will allow you to host two apps via a single config file. To separate out your MVCs, try this: -- myapp.rb -- %w(camping).each { |lib| require lib }

mounting multiples app

2013-05-22 Thread låzaro
Hi, I trying to mount an App but with separetaed model, controller and view in otrher files. Waht could I do? How these files must be? ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: mounting multiples app

2013-05-22 Thread Magnus Holm
You need to create a custom config.ru: config.ru: require_relative 'app1' require_relative 'app2' map '/app1' do run App1 end map '/app2' do run App2 end // Magnus Holm On Wed, May 22, 2013 at 2:05 PM, låzaro netad...@lex-sa.cu wrote: Hi, I trying to mount an App but with separetaed

some pitfails

2013-05-03 Thread Lázaro
Hi, I have two probelms run camping someapp.rb other.rb and it do not mount both of hims, only the first one second something.rb something/ models.rb views.rb controllers.rb cat something.rb require 'camping' Camping.goes :Something module Something end And it do not get the views

Re: emails from my camping app

2013-03-29 Thread Francois Sery
Merci dave and julik. I'll try pony and action mailer. François 2013/3/28 Julik Tarkhanov julian.tarkha...@gmail.com Try Pony. On 28 mrt. 2013, at 14:01, Francois Sery sery.franc...@gmail.com wrote: i'm looking for a gem to send emails from my camping app. -- Julik Tarkhanov

charset for french words

2013-03-29 Thread Francois Sery
bonjour, i can't display french é ,ê, or à... how do i modify the charset of my app ? thanks François ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: charset for french words

2013-03-29 Thread Magnus Holm
You can re-define the #service-method which will be invoked on every request, and there set the correct charset: Camping.goes :Nuts module Nuts def service(*) @headers['Content-Type'] = 'text/html; charset=utf-8' super end end // Magnus Holm On Fri, Mar 29, 2013 at 2:58 PM,

emails from my camping app

2013-03-28 Thread Francois Sery
Hello, i'm looking for a gem to send emails from my camping app. Advices and code examples are welcome.Thanks. François ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: emails from my camping app

2013-03-28 Thread Julik Tarkhanov
Try Pony. On 28 mrt. 2013, at 14:01, Francois Sery sery.franc...@gmail.com wrote: i'm looking for a gem to send emails from my camping app. -- Julik Tarkhanov m...@julik.nl ___ Camping-list mailing list Camping-list@rubyforge.org

Add Rake Middleware

2013-03-28 Thread curtis bissonnette
Is there a simple way to add some Rake middleware to the camping server? Specifically I'm hoping to include sass and coffee-script support server side. ___ Camping-list mailing list Camping-list@rubyforge.org

Re: Add Rake Middleware

2013-03-28 Thread Magnus Holm
Sure: Camping.goes :Noes module Noes use Rack::Foobar end On Thursday, March 28, 2013, curtis bissonnette wrote: Is there a simple way to add some Rake middleware to the camping server? Specifically I'm hoping to include sass and coffee-script support server side. -- // Magnus Holm

Re: unit testing for the first time

2013-03-27 Thread Julik Tarkhanov
There was a good discussion about this on stackoverflow. Look for testing Ruby modules On 27 mrt. 2013, at 07:33, Francois Sery sery.franc...@gmail.com wrote: i'm new to ruby and to unit testing , ___ Camping-list mailing list

modify the way active record Pluralize/singularize

2013-03-22 Thread Francois Sery
hello, i'm new to Camping and i dont speek english very well so , please, forgive my mistakes...here is my question: i want to modify the way active record Pluralize/singularize my tables names. i have 2 classes: module Todo::models class Tache Base belongs_to :categorie end class Categorie

Re: modify the way active record Pluralize/singularize

2013-03-22 Thread Magnus Holm
Hey François, I would advice you to use English terms even though it's not your mother tongue. However, if you must, it's pretty easy to add custom inflections: ActiveSupport::Inflector.inflections do |inflect| inflect.irregular 'tach', 'tache' end See here for more examples:

Re: modify the way active record Pluralize/singularize

2013-03-22 Thread Francois Sery
thanks a lot ! IT works perfectly ! François 2013/3/22 Magnus Holm judo...@gmail.com Hey François, I would advice you to use English terms even though it's not your mother tongue. However, if you must, it's pretty easy to add custom inflections: ActiveSupport::Inflector.inflections do

Re: Mab::Mixin::Error at /

2013-03-21 Thread curtis bissonnette
Looks to be working great now! Thanks a lot for the quick fix. I tested both MAB and HAML both are now working as advertised. Can't wait to dive in. On Thu, Mar 21, 2013 at 4:48 AM, Magnus Holm judo...@gmail.com wrote: Yikes! I broke everything! I've pushed out camping 2.1.532, could you

Re: Just Saying Hello

2013-02-03 Thread Dave Everitt
Hi Brett just a note to say welcome to the small-but-creatively-formed Camping community! And to point out that this is not a high-traffic list, so replies (and issue fixes) may sometimes be quick, sometimes slower :-) Thanks for your contributions - hoping some will get merged/

Just Saying Hello

2013-01-31 Thread Brett Chalupa
Hi all, My name is Brett, and I have been using Camping for about three months for personal projects. I really enjoy working with Camping, and I want to do all that I can to help! Just saying hello. :) Cheers, Brett Chalupa brettchal...@gmail.com (mailto:brettchal...@gmail.com) :

Re: Apache Passenger and Reloader

2013-01-03 Thread Magnus Holm
On Wed, Jan 2, 2013 at 7:02 PM, Koaps Freeman koapsfree...@gmail.com wrote: Hi Guys, I just started playing with camping and so far it's pretty awesomo. After much messing around I was finally able to get Apache Passenger, Camping and ActiveRecord to PostgreSQL working. One thing I was

Re: Apache Passenger and Reloader

2013-01-03 Thread Koaps Freeman
Awesome I'll give that a shot. Thanks On Jan 3, 2013 12:17 AM, Magnus Holm judo...@gmail.com wrote: On Wed, Jan 2, 2013 at 7:02 PM, Koaps Freeman koapsfree...@gmail.com wrote: Hi Guys, I just started playing with camping and so far it's pretty awesomo. After much messing around I

Apache Passenger and Reloader

2013-01-02 Thread Koaps Freeman
Hi Guys, I just started playing with camping and so far it's pretty awesomo. After much messing around I was finally able to get Apache Passenger, Camping and ActiveRecord to PostgreSQL working. One thing I was wondering about, can I use reloader with Apache Passenger? Always having to

Re: Apache Passenger and Reloader

2013-01-02 Thread David C gurugeek
Hello! I am running apache with passenger too and I couldn't find a way to have a reloader feature as of now..this said you might want to use apache proxy to run directly camping (e.g. when you test code) using the default webserver (e.g. thin). I am using that to avoid the continuous reload

Re: Apache Passenger and Reloader

2013-01-02 Thread Koaps Freeman
Thanks for the reply David, I thought about trying that also. Right now this is just for home devel stuff so it doesn't need to be robust or anything, I just develop on my laptop which is separate from the webserver so I was hoping I could just upload stuff and the server reloads without me

Re: Apache Passenger and Reloader

2013-01-02 Thread David C gurugeek
I understand! To achieve exactly that just use thin on your remote webserver (and apache or nginx as proxy..if you need the setting I can try to help but you can certainly find it on google too) then you can just drop your script via FTP and it will auto reload remotely too. Even on the days

Re: Apache Passenger and Reloader

2013-01-02 Thread Koaps Freeman
cool, I got that running so I will play with it. I guess as long as the camping server stays up there's no issues, but if it goes down, and apache sees that then I have to restart apache to recover. No biggie, at least reloader is seeing the code changes and recovering from errors. Thanks again.

Re: Apache Passenger and Reloader

2013-01-02 Thread David C gurugeek
On Jan 3, 2013, at 2:07 AM, Koaps Freeman koapsfree...@gmail.com wrote: cool, I got that running so I will play with it. I guess as long as the camping server stays up there's no issues, but if it goes down, and apache sees that then I have to restart apache to recover. You would just need

Re: New to camping-list, and a problem mounting files to a server

2012-12-18 Thread Alex Weisberger
That's perfect! Thanks a lot for the quick reply. It worked for me. -Alex On Tue, Dec 18, 2012 at 3:53 PM, Matma Rex matma@gmail.com wrote: They aren't as far as I know. I usually use something like this to mount an entire directory: Camping.goes :App module App use

Re: Need advice on Models

2012-09-06 Thread Dave Everitt
Hi Cj I don't think anyone answered your question, so here's a quick reply. Since you said I'm not sure I understand what models do I presume you're a beginner, so this states what may already be obvious! I'm still a noob at heart too. You don't really need a models module to do what

Re: Need advice on Models

2012-09-06 Thread Daniel Bryan
If you're new to the world of web development, it might help to have a bit of context on what Camping's models actually are. ActiveRecord is an abstraction of a database that's primarily developed for use in the Ruby on Rails framework, which you could argue Camping is to some extent a rebellion

Re: camping programming competition ?

2012-08-31 Thread Dave Everitt
definitely +1 for this! Although I'm guessing my workload is similar to many others on this list (and my skills are *never* likely to reach the Ruby ninja stage), so a long deadline, and/or a bit of promotion on other Ruby sites/lists to ensure there are enough entries? Interaction can

Re: _why documentary

2012-08-31 Thread Dave Everitt
I am a little curious what Judofyr looks like - though probably best not to break the mystery lol ditto. But yes, it might... - D___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: _why documentary

2012-08-31 Thread Dave Everitt
Hi Kevin I contributed the amazing and world-changing sum of one single spelling correction to Camping's source. But _why opened up programming for me at a time when Apple's Hypercard (my second language after Logo...) was being starved and I was surrounded by alpha geeks with maths

Re: _why documentary

2012-08-31 Thread Dave Everitt
BTW FYI I also saw this interview with Annie Lowrey of the NY Times who has - apparently (I haven't seen it) written an article (as have many others) on _why: http://www.youtube.com/watch?v=0nrBK7AGUPo Hi all, I'm producing a short documentary on Why The Lucky Stiff which will be shown

Re: _why documentary

2012-08-31 Thread Michael McMillan
I am a little curious what Judofyr looks like - though probably best not to break the mystery :P He's the most handsome son of a bitch I've ever layed eyes on. On Fri, Aug 31, 2012 at 12:05 PM, Dave Everitt dever...@innotts.co.ukwrote: BTW FYI I also saw this interview with Annie Lowrey of

Need advice on Models

2012-08-31 Thread cj
Hello, I'm new to ruby and camping. I'm learning ralis along with camping. I like camping because the MVC is all on one page. So, I'm wondering if you can help. Here's my code. https://gist.github.com/3562873 I'm writing a little app that displays a random quote when you refresh the page. On line

Camping Free Ruby Hosting update and question

2012-08-30 Thread David C gurugeek
Hello! Just a short update regarding the free hosting (I hope this is not too annoying but I received several emails from uses that saw this on the list so it could be interesting): we have now updated the system with more RAM and solid state drives. We have also removed the invitation key so

Re: Camping Free Ruby Hosting update and question

2012-08-30 Thread Jenna Fox
I'm not sure I understand the usefulness of the second and third server? Is it for redundancy? If I were running free hosting I'd be cautious of such things as I wouldn't want to give the users the impression I was going to be completely committed to keeping it online forever and having

Re: Camping Free Ruby Hosting update and question

2012-08-30 Thread David C gurugeek
Thank you Jenna.. an excellent point as always ! I agree that I wouldn't want to give any impression that this service should replace any paid hosting. So I think that a simple daily backup would suffice to guarantee any issue. We have a forum at http://dotgeek.org so I think we will use that

_why documentary

2012-08-30 Thread Kevin Triplett
Hi all, I'm producing a short documentary on Why The Lucky Stiff which will be shown at RubyConf in Denver. I'd love to include details about camping in the film. If any core contributors or developers live in the Austin or Seattle areas and would like to participate, I'd greatly appreciate a

camping programming competition ?

2012-08-30 Thread David C gurugeek
Thanks to Jenna for the valuable feedback. Posting now under a separate topic to brainstorm ideas for a camping programming competition/contest :) What needs to be decided: a) Theme and Jury The theme options are to give something to code within a certain amount of time e.g. x days to

Re: _why documentary

2012-08-30 Thread Jenna Fox
One more thing - the text in the trailer misspells Why's name several times. Here are the preferred rules for naming him in writing, as told by Why: - Why The Lucky Stiff or why the lucky stiff - but never Why the lucky stiff or Why the Lucky Stiff - Why (for short, always capitalised like

Re: Camping-list Digest, Vol 66, Issue 7

2012-08-30 Thread Kevin Triplett
Thanks for the encouragement and feedback, Jenna. I had no idea I misspelled his name but was aware of the two acceptable spellings (Why The Lucky Stiff and _why) -- must have made the mistake early in the project. I'll certainly expunge the defects and flog the wrongdoers. If there's anyone

Re: Camping-list Digest, Vol 66, Issue 7

2012-08-30 Thread Jenna Fox
I'm in the inner sydney suburbs (terrace houses and all that), but Judofyr is over in Norway! Judofyr is probably the main contributor to camping in recent years - I haven't committed much code to the actual camping software, but I did do the web design everyone seems to hate at

1.ai Terms of Service

2012-08-16 Thread Kenneth Pullen
I'd like to try out 1.ai, but I noticed that there is a checkbox that must be selected when registering that indicates I agree to 1.ai's terms of service. I am not, however, able to view the terms of service. There is no link on the front page, and it's not listed at 1.ai/terms, 1.ai/tos,

Re: 1.ai Terms of Service

2012-08-16 Thread gurugeek
HI Ken, I am running but it is not ready yet but I am finishing today or tomorrow and will move the DNS to the server (preview http://2.ai) thanks for your patience Best regards david On Thu, Aug 16, 2012 at 8:40 PM, Kenneth Pullen kenneth.pul...@gmail.comwrote: I'd like to try out 1.ai, but I

Re: 1.ai Terms of Service

2012-08-16 Thread gurugeek
Hello Ken, it will be ready very soon. Actually for the TOS I don't have much of an idea so I was looking around if something is available to use :) Essentially it will be a free service so I don't want to be responsible for other people data in any way so it shouldn't be used to store important

1.ai / dotgeek.org free camping hosting

2012-08-16 Thread gurugeek
Hello again, the closed beta is now live at http://1.ai The system has been tested with Camping, Sinatra, PHP and even Dancer (albeit it needs some manual configuration as the system has been primarily designed for camping or other rack based apps) and everything seems to be working fine. Upon

Re: Feature: Inline templates?

2012-08-15 Thread judofyr
It#39;s been implemented here:nbsp;https://github.com/camping/camping/commit/407e2ddd441f438722828dc77d9094e0dea66143, but I don#39;t think the current released version of Camping has it. Try `gem install camping --source gems.judofyr.net` for a newer (pre-release) version.

Re: Feature: Inline templates?

2012-08-15 Thread Jenna Fox
What makes this better than a here doc? — Jenna On Wednesday, 15 August 2012 at 6:18 PM, judo...@gmail.com wrote: It's been implemented here: https://github.com/camping/camping/commit/407e2ddd441f438722828dc77d9094e0dea66143, but I don't think the current released version of Camping has

Re: Feature: Inline templates?

2012-08-15 Thread Magnus Holm
It's simpler. The alternative would be something like: module App::Views Index = Tilt['slim'].new { -EOF } html head body== yield EOF end module App::Controllers def index Views::Index.render(self) end end This can also serve static files with correct MIME-type: __END__

Re: Feature: Inline templates?

2012-08-15 Thread gurugeek
thank you Magnus, great feature ! On Wed, Aug 15, 2012 at 10:18 AM, judo...@gmail.com wrote: It's been implemented here: https://github.com/camping/camping/commit/407e2ddd441f438722828dc77d9094e0dea66143, but I don't think the current released version of Camping has it. Try `gem install

Re: Feature: Inline templates?

2012-08-15 Thread Jenna Fox
Mmm so it is! Nice! — Jenna On Thursday, 16 August 2012 at 1:10 AM, Magnus Holm wrote: It's simpler. The alternative would be something like: module App::Views Index = Tilt['slim'].new { -EOF } html head body== yield EOF end module App::Controllers def index

Re: template, markaby question

2012-08-14 Thread Trevor Johns
Well, the elegant (and perhaps philosophically correct) way is to use Markaby. In general, I try to avoid placing raw HTML into my Ruby code. If you don't want to rewrite your HTML, you can use ERB templates. Without being redundant, more info on how to make this work can be found here:

Re: template, markaby question

2012-08-14 Thread Jenna Fox
See magnus's post at http://rubyforge.org/pipermail/camping-list/2010-August/001413.html for info on using the haml and erb support built in to Camping. Also note that you don't need to 'render' anything. You can just set @body to whatever string you want in your controller, or even return

Re: Is this message getting through?

2012-08-14 Thread Bartosz Dziewoński
It went thru to me. -- Matma Rex 2012/8/14 Jenna Fox a...@creativepony.com: testing. list seems to be ignoring my messages — Jenna ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Is this message getting through?

2012-08-14 Thread Trevor Johns
Yup, seems to be working for me. -- Trevor Johns http://tjohns.net On Tuesday, August 14, 2012 at 12:59 AM, Jenna Fox wrote: testing. list seems to be ignoring my messages — Jenna ___ Camping-list mailing list

Re: Is this message getting through?

2012-08-14 Thread Michael McMillan
Received here. On Tue, Aug 14, 2012 at 10:01 AM, Trevor Johns tre...@tjohns.net wrote: Yup, seems to be working for me. -- Trevor Johns http://tjohns.net On Tuesday, August 14, 2012 at 12:59 AM, Jenna Fox wrote: testing. list seems to be ignoring my messages — Jenna

Re: template, markaby question

2012-08-14 Thread gurugeek
Jenna - Trevor, many thanks for this. It works fine but perhaps I should stick to markaby for the example page so it would be easier to have everything in one file and new users can learn how to use it? Best Regards David On Aug 14, 2012, at 6:28 AM, Jenna Fox a...@creativepony.com wrote:

Re: updates regarding hosting/easy deployment

2012-08-13 Thread Dave Everitt
Hi David just a quick reply, because I've been off the Camping case for various reasons (work, health), but still following... this is great news! An 'alternative to Heroku' is pretty ambitious, but since many (most?) people don't need anything like the full array of Heroku features (or

Re: updates regarding hosting/easy deployment

2012-08-13 Thread gurugeek
Hi Isak, sure - if there is anything I need to install I will be happy to do so. :) On Sun, Aug 12, 2012 at 5:18 PM, Isak Andersson icepa...@lavabit.comwrote: ** Very exciting :) And nice! Would also be sweet if you added early support for what Magnus has been working on when that's ready

template, markaby question

2012-08-13 Thread gurugeek
hello, I am trying to have some simple HTML to be used as a placeholder page for new servers users in a small camping application (basically with using the main site layout plus the current date and time :) )and I was wondering if the correct way is to rewrite the whole html using markaby or I

updates regarding hosting/easy deployment

2012-08-12 Thread gurugeek
Hello Everyone, sorry for the longish silence but as you know sometimes it can be busy at work! I just wanted to let you know about a complete update on the free hosting system I did prepare from camping. The github idea was not that bad but it didn't work in many cases (too many!) and did not

Re: Feature: Inline templates?

2012-08-12 Thread gurugeek
Hello I was searching inline templates on camping and found this old topic on the mailing list with the example from Magnus. I think it looks great and could be useful but I assume this was not implemented. Any plan to add this ? :-) Best Regards David Another feature! Inline templates:

Re: updates regarding hosting/easy deployment

2012-08-12 Thread Isak Andersson
Very exciting :) And nice!Would also be sweet if you added early support for what Magnus has been working on when that's ready to ship!On Sun, 12 Aug 2012 17:09:17 +0200, gurugeek gurugeek...@gmail.com wrote:Hello Everyone,sorry for the longish silence but as you know sometimes it can be busy at

updates regarding hosting/easy deployment

2012-08-12 Thread gurugeek
Hello Everyone, sorry for the longish silence but as you know sometimes it can be busy at work! I just wanted to let you know about a complete update on the free hosting system I did prepare from camping. The github idea was not that bad but it didn't work in many cases (too many!) and did not

Re: Camping + Couch DB

2012-06-11 Thread Dave Everitt
Hi Daniel Good to know the state of ShyCouch and CouchCamping - partly because I'm collecting Camping links and checking their current state: http://dave.camping.sh I'd like to add any Camping apps you're working on to the above, if they're public. Dave Hi David, Unfortunately, both

Re: Camping release?

2012-05-30 Thread Dave Everitt
Hi Paul just checking if you got a response yet - what's the approximate deadline date? I notice that Camping 2.0 is in Squeeze: http://packages.debian.org/squeeze/camping Also, are your Camping apps public? If so, I'd like their URLs so we can include them in a 'made with Camping'

Re: Camping release?

2012-05-30 Thread Paul van Tilburg
Hey, On Wed, May 30, 2012 at 04:55:25PM +0100, Dave Everitt wrote: just checking if you got a response yet - what's the approximate deadline date? I think I have another week, maybe two. I notice that Camping 2.0 is in Squeeze: http://packages.debian.org/squeeze/camping It is, if not for

Camping release?

2012-05-29 Thread Paul van Tilburg
Hey all, The new Debian release is freezing soon (about 2 weeks) and I would really like it to include Camping 2.2 with Mab 0.0.2. Given that Markaby isn't actually distributable, I have recently uploaded Camping 2.1.498 with a Git snapshot of Mab to test some transitions. I have adapted

Re: setting up the SQLite database

2012-05-21 Thread Dave Everitt
Thanks Nokan, Dave, Philippe for your replies, it's good to get a measure of standard practice even for things as simple as this. There just remains no. 4 (from a question by Isak Andersson http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1751) for which I'd like an opinion,

Re: setting up the SQLite database

2012-05-21 Thread David Susco
On 4: http://api.rubyonrails.org/classes/ActiveRecord/Migration.html#label-Reversible+Migrations Looks like you just define the up, AR takes care of the rest. Never tried it, it'll save a few lines of code though. On injection, AR sanitizes almost everything I believe. The only thing I know to

Re: setting up the SQLite database

2012-05-20 Thread Philippe Monnet
I personally always use a config/database.yml file as I like to keep the configuration out of the code. Plus it makes it easier to switch between development and production configuration. E.g. for Heroku: dbconfig = YAML.load(File.read('config/database.yml')) # On Heroku the

Re: setting up the SQLite database

2012-05-16 Thread Nokan Emiro
Hi, Just a comment: I don't think it's a good practice to set the database details (establish_connection() call) in the application itself. It's an environmental issue, and this way you lose the possibility to move your app between dev, ((devtest)), (test) and production environments without

setting up the SQLite database

2012-05-15 Thread Dave Everitt
I know this isn't Python, but I'd like to get a view on the 'one obvious' way to set up an SQLite (or other) database and its location per-app. I've got a bit lost with the Camping 2 changes and various code snippets I have kicking around. 1. is it best to set up the DB

Re: Camping 1 click deployment is live! 1.ai - alpha users welcome !

2012-05-09 Thread Dave Everitt
View Source link for open web apps and demos. I just added a link to the github repo on my links app, but if you have a snippet to display an app's code in formatted and syntax- coloured style... The idea is to get people to learn and use camping and deploy it / see their app live

Re: Camping 1 click deployment is live! 1.ai - alpha users welcome !

2012-05-09 Thread Dave Everitt
So if my SQLite db file is also in my repo and the path to it is in my app, sounds like the whole lot will transfer fine - DaveE It should :) If you want to test it I will be grateful. marking web design classes this week(!), so when I take a break I'll try it out with the blog app after

Re: Camping 1 click deployment is live! 1.ai - alpha users welcome !

2012-05-08 Thread Anthony Durity
Is this like Heroku or something? What are the use cases for this? It's an app server? What are the limitations? How much does it cost? If it is free, why is it free? On Sun, May 6, 2012 at 1:57 AM, gurugeek 1...@1.ai wrote: Hello Campers! I am happy to announce that the camping 1 click

Re: Camping 1 click deployment is live! 1.ai - alpha users welcome !

2012-05-08 Thread Dave Everitt
So if my SQLite db file is also in my repo and the path to it is in my app, sounds like the whole lot will transfer fine - DaveE -If you have an sqlite database in your github repository it should work just fine. If it works for you locally it should work fine on http://1.ai after the

Re: Camping 1 click deployment is live! 1.ai - alpha users welcome !

2012-05-08 Thread Jenna Fox
Heroku are the big tires, camping is the little wheels. They aren't a great fit. Heroku for example has a read-only file system and I believe no database in the free tier. This is a great little service we can build interesting things on. How about a remote server reloader? Streaming logs?

Re: Camping 1 click deployment is live! 1.ai - alpha users welcome !

2012-05-06 Thread gurugeek
On May 7, 2012, at 2:23 AM, Jenna Fox wrote: Things: 1) It'd be super cool if the user types in their email address as the username if it still works Yes this should be easy to do - could put both I think email or username 2) I wonder what I'm doing wrong? I enter in

Re: Camping 1 click deployment is live! 1.ai - alpha users welcome !

2012-05-06 Thread Jenna Fox
A lot of repos for websites have dots in them, should fix it to support anything github can support. — Jenna On Monday, 7 May 2012 at 10:30 AM, gurugeek wrote: On May 7, 2012, at 2:23 AM, Jenna Fox wrote: Things: 1) It'd be super cool if the user types in their email address as the

mab advice

2012-05-04 Thread Dave Everitt
I have a simple helper function containing this to spit out a list of links from a hash: ... links.each_pair do |label, link| li { a label, :href = link } end ... my hash elements are (obviously): 'Link label' = 'http-link', I'd now like to add a 'strong' tag around some of the text

Re: mab advice

2012-05-04 Thread Jenna Fox
So essentially you want the 'label' string inserted verbatim as html code, rather than as plain text? li { a(:href = link) { label } } In markaby and presumably mab, strings passed as arguments are escaped, and html is inserted as bodies of elements via blocks - you can build that body

Re: ChillDB License

2012-05-03 Thread Isak Andersson
Yeah, I'm surprised too. I only gave a one word response of my favourite license, but damn! Everyone else flourished with good information! It's nice when something little like this sparks a discussion Anyways, I like zlib because it gives great freedoms for the consumers but makes sure that

Re: ChillDB License

2012-05-03 Thread Paul van Tilburg
On Wed, May 02, 2012 at 10:35:45AM -0700, Trevor Johns wrote: MIT is marginally simpler to read and is unambiguous, since there's only one version. For this reason, it's my personal favorite. Heh. Actually, it is not: http://en.wikipedia.org/wiki/MIT_license#Various_versions Or at the vary

Re: ChillDB License

2012-05-03 Thread Dave Everitt
Perhaps this rich seam of knowledge could be captured in a little Camping app: 'a guide to software licenses' :-) On Wed, May 02, 2012 at 10:35:45AM -0700, Trevor Johns wrote: MIT is marginally simpler to read and is unambiguous, since there's only one version. For this reason, it's my

Re: ChillDB License

2012-05-03 Thread Anthony Durity
I'm not surprised people have an opinion and are informed about these things. I'm old enough to remember how Microsoft sucked the life out of the desktop software industry due to their anti-competitive practises. They were able to do this cuz they could keep their source code secret, it enabled

Re: ChillDB License

2012-05-03 Thread Dave Everitt
I'll second that. I remember Ballmer's Linux is a cancer... and gave an overview of the origins and rationale to students in a (shame - the only Powerpoint) presentation I still use: http://www.slideshare.net/cubexplorer/opensource-5479951 - DaveE thank you Mr. Stallman. Thank you Mr.

definitive markaby

2012-05-02 Thread Dave Everitt
I'm compiling Camping links... please can someone refresh my memory: how does this: https://github.com/igravious/markaby relate to this: https://github.com/camping/mab ? DaveE ___ Camping-list mailing list Camping-list@rubyforge.org

ChillDB License

2012-05-02 Thread Jenna Fox
A few of you sounded interested in using it. I haven't explicitly put a software license on it, so I guess it's not technically FOSS yet. What licenses are good? BSD? Public Domain? — Jenna ___ Camping-list mailing list Camping-list@rubyforge.org

Re: definitive markaby

2012-05-02 Thread Jenna Fox
Mab is going to be the new one going forward. If I remember right, the reasons for this were: 1) Markaby isn't very well maintained these days 2) Markaby is all about xhtml, which is totally irrelevant to the modern web. 3) Markaby doesn't explicitly have a license allowing us to do stuff to

Re: definitive markaby

2012-05-02 Thread Anthony Durity
I made those changes to Markaby to be able to use it with HTML5. I couldn't be bothered rewriting my code to get it to use mab or whatever is the current flavour of the day for spitting out HTML. On Wed, May 2, 2012 at 1:15 PM, Dave Everitt dever...@innotts.co.uk wrote: I'm compiling Camping

Re: ChillDB License

2012-05-02 Thread Jenna Fox
This is very helpful! I don't really mind though. Maybe public domain is best. I'm not a big believer in copyright. — Jenna On Wednesday, 2 May 2012 at 10:57 PM, Anthony Durity wrote: Hey there, BSD uses full copyright, it's like saying all rights reserved. Public domain means no rights

Re: definitive markaby

2012-05-02 Thread Dave Everitt
thanks - a compact but completely-formed answer. So 'mab is the Camping-specific markaby' would be an accurate statement? - DaveE Mab is going to be the new one going forward. If I remember right, the reasons for this were: 1) Markaby isn't very well maintained these days 2) Markaby is all

Re: definitive markaby

2012-05-02 Thread Jenna Fox
Yes. — Jenna On Wednesday, 2 May 2012 at 11:14 PM, Dave Everitt wrote: thanks - a compact but completely-formed answer. So 'mab is the Camping-specific markaby' would be an accurate statement? - DaveE Mab is going to be the new one going forward. If I remember right, the reasons

Re: ChillDB License

2012-05-02 Thread Dave Everitt
You could read Stallman's CopyLeft idea http://www.gnu.org/copyleft/ to prevent unscrupulous individual from turning your code into a profitable product (I think) - DaveE This is very helpful! I don't really mind though. Maybe public domain is best. I'm not a big believer in copyright. —

Re: ChillDB License

2012-05-02 Thread Magnus Holm
On Wed, May 2, 2012 at 3:00 PM, Jenna Fox a...@creativepony.com wrote: This is very helpful! I don't really mind though. Maybe public domain is best. I'm not a big believer in copyright. Public domain is people can do whatever they want with it. BSD is people can do whatever they want with it,

Re: ChillDB License

2012-05-02 Thread Dave Everitt
LOL if you don't, that's okay! Just in case you did... - DE Why would I care if they did that? — Jenna On Wednesday, 2 May 2012 at 11:19 PM, Dave Everitt wrote: You could read Stallman's CopyLeft idea http://www.gnu.org/ copyleft/ to prevent unscrupulous individual from turning your code

Re: ChillDB License

2012-05-02 Thread Dave Everitt
thanks Magnus, Anthony - that's all going in my quickref 'solutions log'... DE Public domain is people can do whatever they want with it. BSD is people can do whatever they want with it, but I retain copyright and they must credit me. (so the copyright part isn't that important there). GPL

Re: ChillDB License

2012-05-02 Thread Isak Andersson
Zlib! Cheers! Isak Andersson Jenna Fox a...@creativepony.com skrev: A few of you sounded interested in using it. I haven't explicitly put a software license on it, so I guess it's not technically FOSS yet. What licenses are good? BSD? Public Domain? — Jenna Get the best

<    1   2   3   4   5   6   7   8   9   10   >