similar to: setting up the SQLite database

Displaying 20 results from an estimated 3000 matches similar to: "setting up the SQLite database"

2006 Feb 21
6
+ camping/session
Camping now comes with a sessioning class, checked in tonight. To get sessions working for your application: 1. require ''camping/session'' 2. include Camping::Session in your application''s toplevel module. 3. In your application''s create method, add a call to Camping::Models::Schema.create_schema 4. Throughout your application, use the @state
2009 Aug 17
6
hi all! can''t open github!!
hi all! can''t open github (http://github.com/why/camping/tree/master) What''s going on? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/camping-list/attachments/20090817/bba31d63/attachment.html>
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,
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
2012 May 02
17
ChillDB License
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/camping-list/attachments/20120502/96b87580/attachment.html>
2006 Oct 02
1
Problems Deploying a Camping app on TxD
So I''ve been trying all day to get a small camping app I wrote up on Textdrive to no avail. Right now I''m getting a 500 error when I go to the site, and it spits this out (from lightty after i restart it and make a request to the app): (eval):13:in `initialize'': undefined method `to_hash'' for #<FCGI::Stream:0x83a35d8> (NoMethodError) from
2006 Apr 10
1
Capistrano/SwitchTower "current" dir deployment question
All, I have successfully executed the "deploy" task in Capistrano/Switchtower to establish a symbolic link named "current" which points to the current version of my app. on my remote server. My app. was already deployed to the existing Rails root directory (call it "appname") though. I have Apache fronting my app. through a virtual host whose doc. root is itself
2006 Nov 14
11
RESTful mixin, mixin repo?
Hi, I just put together a little mixin to provide pseudo-RESTful services in camping apps. Basically, it looks for a hidden _verb field in form posts, and sets the @method to the supplied value (e.g. put or delete - which browsers don''t support). This lets you define put and delete methods in your controllers. Groovy. Code: http://pastie.caboo.se/22613 Is there any permanent repo of
2007 Jan 22
4
Postamble vs campingrc
Hi, Should I be able to use the Webrick postamble instead of using .campingrc, to tell Camping I want to use mysql? It doesn''t seem to be working for me. It does work however, when I''m using FastCGI (establish_connection :adapter => ''mysql''). James
2006 Apr 06
3
Apache as proxy for webrick
Hello, We have a webrick server running our nice app, and an apache server being used to serve the rest of the site and act as a proxy for the webrick app. <code> <IfModule mod_proxy.c> ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /appname http://server.com:3000 ProxyPassReverse /appname
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
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...
2009 Jun 16
2
OT - Tomcat CLASSPATH issue
if this is ignored then fair enough as its not really the place for it but if anyone has seen this it would be good to know tomcat is 6.0.18 CLASSPATH is set in /etc/sysconfig/<appname> and this IS getting used as _some_ configuration items are being picked up from /etc/<appname> but the issue is when default setting from within the webapp are not being overwritten by settings in
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 = (
2011 Sep 20
1
sudo wildcards problem: for every argument a *-wildcard? Better solution?
Hi folks I allow the user tommy to run this command as root sudoCommand: /app/appname/connectors/*/*/current/bin/* With "sudo -l" he sees the sudoers, but is unable to execute. $ sudo /app/appname/connectors/zur/namename/current/bin/othername agentsvc --i --u root --sn 1m7command Sorry, user tommy is not allowed to execute
2006 Jun 07
1
delete app
Say I run: rails appname #generates the Rails App "appname" And it creates the entire folder structure. Is there a command to delete the entire app? -- Posted via http://www.ruby-forum.com/.
2020 Feb 18
1
install_prereq install-unpackaged fails on Debian Buster
Hello, For the very first time, I tried the command bellow on a newly build Debian Buster box on which I successfully built Asterisk 17.2.0 before. I got : # contrib/scripts/install_prereq install-unpackaged *** Installing NBS (Network Broadcast Sound) *** A nbs-trunk/LICENSE A nbs-trunk/nbsclient.c A nbs-trunk/nbsd.c A nbs-trunk/nbs.h A nbs-trunk/nbscat.c A nbs-trunk/Makefile
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,
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