The issue you're running into is most likely that you haven't started the
ferret background process.

If you take a look in config/ferret_server.yml, the production environment
is set to:

production:
  host: localhost
  port: 9010
  pid_file: log/ferret.pid
  log_file: log/ferret_server.log
  log_level: warn

You would start the ferret_server with

script/ferret_server -e production start

The separate background process is required so that if you're running a
mongrel cluster, you don't have each individual mongrel trying to update the
search index (and leading to other errors).

If you're only going to run one mongrel process, then you can comment out
the production setting in config/ferret_server.yml so that it doesn't rely
on the background server process.

Long

On Thu, Jun 5, 2008 at 10:02 PM, Antony Evans <[EMAIL PROTECTED]> wrote:

>
> Hiya,
>
> I'm enjoying working with the Insoshi source code.  It is now working
> extremely well on my local machine while I play around with the code
> and tweak it for my own exact needs.  Git still appears to me like
> magic, but thats another story (and I'll figure it out by the time
> I've developed an interesting new feature!!).
>
> Before making too many changes though I want to make sure that I'm
> able to deploy Insoshi correctly to my production box, and I've run
> into a few problems:
> 1.  I've uploaded the files to my box (a Joyent small accelerator for
> those interested), and created a mongrel boot process to run the
> application.  It doesn't seem to work in production mode however as it
> simply loads up the '500.html' file from the public folder.
>
> 2.  To try to figure out this problem I loaded up a 'development'
> mongrel boot process, to run the app in development mode.  I edited
> 'database.yml' so that the app looks at the same database as the
> production database and ran the app.  This time it loads up the
> homepage and appears to work.  However I get an error message when I
> try to sign in a new user (for example [EMAIL PROTECTED], one of the
> preloaded sample data logins).  Interestingly I can still create a new
> account and that user is logged directly in.
>
> Any suggestions?  The site is available to view at
> http://www.thestartupexchange.com.
>
> Antony
> >
>


-- 
Long Nguyen
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/

You received this message because you are subscribed to the Google
Groups "Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to