Wednesday, March 21, 2012

Re: PaaS recommendations

you are looking for
I suppose.

I use a single file for all x versions (local dev, stage, live, ...) this way
it also enables you to know which environment you are at (domain etc)

as for the schema migration:



Am Mittwoch, 21. März 2012 05:07:16 UTC+1 schrieb Simon Males:
Hello,

I'm trying to lighten my load of System Administration tasks and focus
on development.

I believe using a PaaS type service might help me here. Does the
CakePHP community have any recommendations/experiences?

So far I'm looked at PHPFog and Orchestra (by Engine Yard).

The stand out problems I have are on Shell Tasks and
staging/production database configuration files.

PHPFog has environment variables, so I can specify if an instance is
staging/production and thus knows what DB configuration to use.

Orchestra is nice, and I believe has a sane cron job like API. As for
above problem I believe a domain check will have to suffice.

Though the problem here is no domain/environment variable when doing a
cron job/shell task, so the application doesn't know which DB to hit.

Lastly, I would like to have access to some sort of command line where
I can run Schema migrations.

Asking too much?

--
Simon Males

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: