Displaying 20 results from an estimated 6000 matches similar to: "Reloader, Mounts, FastCGI"
2006 May 18
0
+ Camping::FastCGI
Getting Camping to work with FastCGI is a little clunky, since FastCGI 
doesn''t really understand mounting apps and sometimes the environment 
vars are a little whack.  To keep the postambles easy to read, I''ve 
moved the handy stuff into lib/camping/fastcgi.rb.
== Mounting a Single App
Assuming: Camping.goes :Blog ... this goes in your postamble ...
    require
2006 Jul 06
0
+ camping 1.4.120
Okay, let''s see.
  gem install camping --source code.whytheluckystiff.net
A bunch of great stuff.
  * Camping::Apps stores constants for all loaded apps.
  * bin/camping can be given a directory. [1]
    Like: camping examples/
  * Console mode -- thank zimbatm.
    Use: camping -C yourapp.rb
  * Call controllers with Camping.method_missing.
    Tepee.get(:Index) #=> (Response)
 
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,
2006 Aug 13
3
+ migrations in camping
Camping apps are supposed to be little independent apps, often contained in a
single file, which create the database tables and manage them without hassle.
These days it''s common to see in a Camping app:
  module Tepee::Models
    def self.schema(&block)
      @@schema = block if block_given?
      @@schema
    end
  end
  Tepee::Models.schema do
    create_table :tepee_pages,
2006 Oct 03
4
! camping 1.5 + markaby 0.5
Not too different from their corresponding last releases, but documentation
has been filled in for both.
To upgrade:
  gem install camping --source code.whytheluckystiff.net
And, here is a complete changelog:
== Camping 1.5
* Camping::Apps stores an array of classes for all loaded apps.
* bin/camping can be given a directory. Like: <tt>camping examples/</tt>
* Console mode -- thank
2006 May 16
0
! camping 1.4.1.96
I''m just about ready to release 1.4.2.  Here''s the pre-release:
  gem install camping --source code.whytheluckystiff.net
The biggest recent change is that the Camping commandline tool now 
allows mounting of several apps.  I''ve eliminated examples/serve and am 
encouraging use of the camping tool.  Instead, use:
  camping examples/blog/blog.rb examples/tepee/tepee.rb
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache,
both running FastCGI.  I''m going to explain the configuration, but first:
update.
  gem install camping --source code.whytheluckstiff.net
== Mounting Root for Lighttpd+FastCGI ==
  server.port                 = 3045
  server.bind                 = "192.168.0.103"
  server.modules              = (
2007 Sep 27
3
FastCGI in Shared Hosting - What To Do?
Hello Campers!
I am working on Site5, trying to get a working Camping application
running. Unfortunately, my sole option in terms of deployment is FastCGI.
I have no access to sudo so I cannot create ScriptAliases.
I''ve taken the Camping Short Short Example and uploaded it, along with a
dispatch.fcgi and an .htaccess file.
My question is - given the state of Camping development right
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
2006 Jul 28
1
multipart/form-data support for Camping Apache/FastCGI
sorry I broke it for mongrel, but the programmer who did the work for
mongrel should not have much problem integrating the two I think. Apache/CGI
is different and still will not work.
I fuck around for a full day at the end of the day, I found Iowa another web
framework and I try using their code
but using Iowa::Request.new.read_multipart was more confusing than anything,
although it helped me
2007 Feb 14
0
Linking between Camping apps?
I''ve been working with Camping for a little while, reading through the
examples. The "Small Apps, Many Mounts" idea makes sense, and
interacting with other apps'' models (using the full class name) works
just as it should.
But what is the best way to include links to other mounted applications?
As a toy example, I''m trying to add links to the pages in the Tepee
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 Jun 19
1
Reloader paths/
after investigating why the reloader wasnt working , i discovered 2 probs, one of which was sorta my fault (but will likely happen to others who make one-file apps)
first, my app was like this:
#!/usr/bn/env ruby
%w{applib1 applib2 digest/md80 airbus}.each{|r| require r}}
if __FILE__ == $0
  Mongrel.config do
     handler ''/'', Camping.reloader.new(__FILE__)
  end
end
not
2006 Jul 25
4
about PATH_INFO and FastCGI
in one of my recent email, I add .to_s to PATH_INFO in camping code.
actually, this is probably very wrong. the problem is probably something
like PATH_INFO does not exist when using FastCGI.
I have not done all my homework, but so far what I found is lighttpd has a
special option
"broken-scriptfilename":  breaks SCRIPT_FILENAME in a wat that PHP can
extract PATH_INFO from it (default:
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
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
2006 Aug 01
3
starting fresh
trying to get the example blog running under Apache/FastCGI with Camping
1.4.143
anyone using Apache/FastCGI in here?
does not seems to be possible to use with Camping.
anyone got better luck?
this is my postamble
if __FILE__ == $0
  Blog::Models::Base.establish_connection :adapter => ''sqlite3'', :database
=> ''examples.db''
  Blog::Models::Base.logger =
2007 Nov 22
2
How many CRLFs between header and body?
Just ran into a problem[1]. It seems to have been introduced by
changeset 224 [2], a fix for ticket 126 [3].
The root is the number of CRLFs Camping puts between the headers and
the body of the response. This has changed at least 3 times; right now
we''re back to 1. (ie. every header ends in a CRLF, and then there''s the
body)
The HTTP RFC[4], the CGI spec[5] and the FastCGI
2006 Mar 26
4
select information from sqlite_master error
Hi,
I''m having fun playing around with Camping...I am slowly working on extending tepee to a personal e-notebook sort of tool (never lose my papers/revisions....hehe).
I''ve given tepee an oswd css design, and am currently adding a admin page that I want to show the ruby version, sqlite version and db size and db stats information.
I tried running:
@db_stats =
2007 Jul 22
2
500 error while trying to run Camping on Dreamhost
I''ve tried setting up an Hello World app with Rails (no database), on a
Dreamhost account. I used the configuration I found here
http://www.mail-archive.com/camping-list at rubyforge.org/msg00114.html with
the proper paths. But I keep getting Internal Server Errors (500). On the
error.log I found this
[Sun Jul 22 15:32:07 2007] [error] [client 82.154.48.138] FastCGI: comm with
(dynamic)