Park Place is Sure Glossy in Trunk #
From the latest checkin:
Yep, easier. I wouldn’t recommend uploading too many muchobytes through the browser, though. Use an S3 shell, lady.
gem install camping --source code.whytheluckystiff.net gem install mongrel --source code.whytheluckystiff.net svn co http://code.whytheluckystiff.net/svn/parkplace/trunk parkplace cd parkplace bin/parkplace
You’ll also need sqlite3. Follow these instructions carefully.
And it’ll tell ya the default login. Also, if you’re on nonWin: gem install sendfile
The control center will be at localhost:3002/control. But the S3 service itself is at the root.
martins
The only way to get static files (css, img, js) served for me is by doing this:
I assume that this isn’t correct, and this must be done by web server (Mongrel in my case). How can I setup Mongrel (or Lighty) to serve static files ? Please, help me, because I can’t find any hints on google :( ...
FlashHater
Spiffy. Too bad that I can’t get it to run.
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing': uninitialized constant SlotGet (NameError) from ./parkplace/control.rb:116 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require' from ../bin/parkplace:4
why
martins: The latest Mongrel supports the
X-Sendfile
header, that’s definitely the swiftest means. Make sure you’ve updated Mongrel from the gem I provided above.FlashHater: Looks like you’ve got an old
parkplace.rb
loading. Did you install an older one? Well, deinstall.martins
Thanks, why. It works !
FlashHater
why: As a matter of fact I had, and once I removed it everything worked perfectly! Thanks alot!
maurizio
Hello. I get the following (under WinXP sp2), after having followed your instructions, when attempting to upload a file:
Camping Problem! ParkPlace::Controllers::CFiles.POST Errno::EACCES Permission denied – C:/DOCUME1/Maurizio/LOCALS1/Temp/C1616.0 or C:/Documents and Settings/Maurizio/My Documents/rails/parkplace/storage/mp3_/C1616.0: c:/ruby/lib/ruby/1.8/fileutils.rb:501:in `rename’ c:/ruby/lib/ruby/1.8/fileutils.rb:501:in `mv’ c:/ruby/lib/ruby/1.8/fileutils.rb:1377:in `fu_each_src_dest’ c:/ruby/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest0’ c:/ruby/lib/ruby/1.8/fileutils.rb:1375:in `fu_each_src_dest’ c:/ruby/lib/ruby/1.8/fileutils.rb:490:in `mv’ ./lib/parkplace/control.rb:104:in `post’ (eval):22:in `service’ ./lib/parkplace/control.rb:15:in `service’ c:/ruby/lib/ruby/gems/1.8/gems/camping-1.4/lib/camping/session.rb:112:in `service’ (eval):42:in `run’ c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel/camping.rb:36:in `process’ c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:425:in `process_client’ c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:424:in `process_client’ c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:495:in `run’ c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:494:in `run’ c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:483:in `run’ c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:774:in `run’ c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:772:in `run’ ./lib/parkplace.rb:48:in `cloaker_’ c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:658:in `listener’ ./lib/parkplace.rb:44:in `cloaker_’ c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:616:in `initialize’ ./lib/parkplace.rb:43:in `serve’ * bin/parkplace:28
why
maurizio: Let me help you. ParkPlace stores its junk in a directory called
storage
off the working directory. Make sure ParkPlace has rights to do that.FlashHater
After quite an ordeal, I FINALY got park place to run. Unfortinatly, the stylesheet and graphics won’t load (probably because I don’t have any rewrite rules in place and I’ve hacked some stuff up.
maurizio
why: I set the folder to writeable (via the properties panel in windows), but it is reset as read-only continuosly. Also, after having set it to read-write, the bucket I’m going to create via the parkplace interface, becomes a subfolder of the storage folder and is created read-only too. BTW , for me too the .css file doesn’t load. Thank you for your code and support.
martins
maurizio & FlashHater do you both have successfuly installed mongrel v0.3.12.5 like this:
gem install mongrel --source code.whytheluckystiff.net
?This version is not available through standart gems servers yet.
maurizio
martins: C:\Documents and Settings\Maurizio>gem install mongrel—source code.whythelucky stiff.net Attempting local installation of ‘mongrel’ Local gem file not found: mongrel*.gem Attempting remote installation of ‘mongrel’ ERROR : While executing gem … (Gem::RemoteSourceException) HTTP Response 403
maurizio
Now I can reach the code but I can’t compile the native extensions on Windows … Has someone a binary version readily available? Thank you.
C:\Documents and Settings\Maurizio>gem install mongrel—source code.whythelucky stiff.net Attempting local installation of ‘mongrel’ Local gem file not found: mongrel*.gem Attempting remote installation of ‘mongrel’ Updating Gem source index for: http://code.whytheluckystiff.net Install required dependency daemons? [Yn] y Building native extensions. This could take a while… [snip]
why
maurizio: You’ll need to wait until Zed releases the next Windows release of Mongrel. Until then, Parkplace isn’t supported on the platform. I’m sure it’ll be just a day or two.
maurizio
why: Thank you! I’m looking forward to the new mongrel release for Windows, and to play with your code :)
maurizio
Hello. I installed under Ubuntu (Dapper) Park Place. I followed the instructions given at the RedHanded site. I get the following mongrel error when launching the application:
I did some research attempting to fix this issue, but without luck.
maurizio
I managed to compile the native extensions for mongrel on ubuntu based on some feedback I got from Zed on the rails mailing list, but still no joy in running parkplace … The system seems working but I get no CSS and it seems I cannot send a file with a permission different form ‘private’, even when I select ‘public read’, etc. Have you any suggestion on how to proceed? Thank you.
why
It appears that you have installed ParkPlace (using setup.rb or something.) I’d recommend just running ParkPlace from its own directory for now.
I have some patches to remedy this situation, but I’m not done thinking about… if they solve the problem… in the manner I’d like them to.
Comments are closed for this entry.