Displaying 20 results from an estimated 8000 matches similar to: "URL question"
2007 Apr 25
6
Running something periodically.
Suppose, for a moment, that I have a Camping app. It looks at
something, like an RSS feed of upcoming events, and displays them if
they meet a specified criterion. I look at the index page, it fetches
the feed items and then displays them. Yay. Maybe it also writes them
to a database.
Which is great, so long as I keep looking at the page every so often.
But what do I do while I''m
2008 Mar 11
4
Dropping Root
Hello Campers
I''m not sure this is the right list to ask but:
I''m using the junebug wiki (which is written in camping) for my own personal wiki. I''d like it to behave as a proper daemon, so it will start up at boot, get stopped properly at shutdown, keep a pid file in /var/run etc.
This requires a little messing with the wiki script junebug makes in the wiki
2007 Feb 18
1
FastCGI without ScriptAlias
Hi,
I made some experiments with the sample blog application, my index.fcgi
file contains the following:
require ''camping/fastcgi''
Camping::Models::Base.establish_connection(
:adapter => ''sqlite3'',
:database => ''database/camping.db''
)
Camping::FastCGI.serve(''blog.rb'')
Without ScriptAlias the application works fine,
2012 Apr 06
1
lighttpd + fastcgi + camping
Hello all,
I am running in some little stumbling blocks with passenger as a multi user
environment (the most problematic feature is that, once you setup a
sub-domain passenger wants you to declare on nginx every app running on
that nginx server which is not ideal to add apps on the fly and / or if a
user wants to run 2 apps from his space)
so I was thinking about a more drag a drop / one line
2008 May 21
32
Rack, Camping 2.0++
===
1. Camping on Rack
===
I''ve just finished rewriting Camping to use Rack in the "core". I got rid of
(a little less) than 1kB in camping.rb and removed lots of un-necessary files
(lib/server/*.rb, fastcgi.rb & mongrel.rb).
bin/camping does now only provide WEBrick, Mongrel and console-support and
should only be used in development. It uses Rack::ShowExceptions to catch
2008 Jul 10
1
AR Sessions
Hi all,
I have a little camping micro-blog that''s working well with the cookie
session store, but falls over when I try to use the AR session store.
The changes I made were:
require ''camping/session'' becomes require ''camping/ar/session''
module Blog; include Camping::Session; end becomes module Blog;
include Camping::ARSession; end
and I did the
2007 Jul 30
1
Camping Apache2 & FCGI - Internal Use
Hey Folks,
I''m deploying a camping app on an internal Apache2 + FastCGI server at my
office. Of course, on my Mac it works great, but I can''t get things to work
with Apache and FCGI. I''ve followed the directions on why''s page
documenting how to do this, but I''m getting the following error in my Apache
error.log file:
FastCGI: (dynamic) server
2007 Feb 27
5
Camping on Dreamhost - Please Help!
Hi Folks,
I''ve been trying to get camping up and running on dreamhost for the
past six hours, but have had no success. I''d really appreciate any
suggestions!
The camping gem is on the dreamhost server, but just to make sure it
wasn''t a dependency issue causing all the problems, I installed
camping + the full set of dependencies in my own gem directory (both
are on the
2007 Jan 20
1
Camping on Media Temple?
I''m getting into camping in a big way--I love that you can put
together full-fledged apps with so little code and overhead.
Does anyone know of any documentation about getting Camping apps
running on Media Temple''s GridServer? Of course I''ve found the
Camping server page[1], but I can''t work out how to associate running
camping apps with a (sub)domain
2006 Dec 11
1
Using Rails Plugins with Camping
I just picked up Camping and I''m currently reviewing every little
tidbit of information I can find out about it.
I really liked the simplicity of RubyOnRails, but sometimes you want
something fast and everything is relative. After looking at Camping,
RubyOnRails seems like a lot of work if you just want to test out a
prototype of a small web app.
One thing I do miss are all the
2006 May 31
3
Camping and Builder and XML
Hi,
I have built a simple Camping application which indexes an ODBC
datasource using Ferret on startup, then accepts search strings and
renders the resulting hit list in HTML, and it works quite nicely.
The next step was to alternately render the list in XML for consumption
by another application. In Rails, I would simply use Builder in the view
to get the job done, and so I did the same in
2010 Jun 08
1
camping-oauth is now available
I finally put together the final touches on the first version of the
camping-oauth gem.
It allows you to make a Camping web app into an OAuth provider. It
leverages ruby-oauth and the oauth-plugin.
An example of a use case is a web service built with Camping (using
json/xml with/without REST).
You can find it on GitHub: http://bit.ly/campingoauth
I also wrote a blog post on how to use it (and
2009 Nov 03
2
Camping on Wikipedia
Hi all
I found the Camping page on Wikipedia in need of some serious TLC, so
I updated it, added some newer links and removed the ''stub'' status:
http://en.wikipedia.org/wiki/Camping_%28microframework%29
I also pointed people to the Github repo for version 1.9.
Please take a look and either make suggestions for further material
for me to add (not too much...
2006 Oct 28
4
Mounting an app as ''/'' under Apache?
Hello everyone, I have a site with a collection of camping apps. I''m trying
to force one of them, blog.rb, to run as the index (''/'').
I think that I understand the RDoc as stating that I can execute the
following to make that happen:
Camping::FastCGI.serve File.expand_path(current), Blog
But, when doing so, I recieve the following error:
Camping
2007 Jul 31
4
Restarting Lighttpd for each change? Error logging?
Hi,
It seems that for each change that I make in my camping application, I
have to restart lighttpd to make it work.
Also whenever something goes wrong, a syntax error in my camping
application for example, things just stop working and I can''t see any
error messages in the lighttpd logs or any other log.
I just followed the instructions to use Camping with lighttpd on the wiki.
Any
2006 Feb 10
1
! camping paid gigs
Oh, boy, this is great. Anyone here want to get paid for doing some
camping work? Because O''Reilly is interested in doing a 20-30 page PDF
on Camping. Please do it, guys. I won''t blab about how much it pays,
but if it took you a couple days, you''d get back a hacka lot of moaney.
Anyway, post your camping paid gigs, people. If we could have one guy
in the world
2008 May 15
3
Squatting
Hey Campers,
I liked Camping so much that I had to "port" it to Perl. My framework is
called Squatting (as in http://en.wikipedia.org/wiki/Squatting), and you can
get it from the following places:
http://search.cpan.org/dist/Squatting/
http://github.com/beppu/squatting/tree/master
It''s not a straight port of the Camping code, because Camping uses some
weird Ruby idioms that
2007 Jan 10
2
Dream Ledger
Hello Fellow Campers,
I''m feeling crazy tonight and thought I''d go ahead and announce my new
little project riding on the Camping framework: Dream Ledger
(http://www.dreamledger.com).
The app was written to scratch a personal itch, which is the simple
fact that I wanted an easy way to record my nightly dreams and sleep
experiences. Think about it as ''dream
2006 Jul 18
4
intro
Hi !!!
I''ve just seen this message on
http://redhanded.hobix.com/inspect/theCampingServer.html
I''d really like to see distributions offer a package which would allow
simple setup of TheCampingServer, just as you see with PHP. If you''re
interested in seeing this happen for the upcoming Camping 1.5 release,
introduce yourself on the
2007 Jan 06
1
Camping Podcast
I''m putting together an episode of the Rails podcast that will be dedicated to Camping.
I already have the first interview recorded. I''d like to get 3 or 4 more short interviews (short...maybe 4.096 minutes each).
If you''d like instant fame, send me an email and tell me what camping project you would like to talk about, what your skype username is, and when is a good