Checklist for production deployment?

Here is my checklist for deployment in production mode. I do everything
on this list, but my app still refuses to run in production mode. Does
anybody know what I’m missing?

  1. “mongrel_rails start -d -e production -p 8000 -P log/mongrel8000.pid”
    for all of my mongrels.

  2. In config/environment.rb: Uncomment this line: “ENV[‘RAILS_ENV’] ||=
    ‘production’”

  3. force-reload Apache

  4. restart mongrels with mongrel_rails cluster::restart

Thanks for any advice you might have

sean

Have a look at your log files (production.log + mongrel.log). Can you
see
any errors?

i don’t know if you actually need to do those first two steps. the
mongrels
that are going be running will be from #4. they get their
configuration from
wherever you’ve got that set. some yml file somewhere.

i’ve got production set in my mongrel cluster configuration.

user: someuser
cwd: /path/to/your/project/current
port: “8400”
environment: production
group: admin
address: 127.0.0.1
pid_file: log/mongrel.pid
servers: 1

On Nov 27, 9:21 am, Sean C. [email protected]