# |
Sep 22nd 2011, 07:19 |
dakota |
lorfds: it was simply too complex for our purposes |
# |
Sep 22nd 2011, 07:19 |
lorfds |
why did you avoid capistrano? |
# |
Sep 22nd 2011, 07:18 |
dakota |
lorfds: that said, I don't use capistrano. Rolled my own simpler deployment method written as a cake shell that uses rsync (and git) |
# |
Sep 22nd 2011, 07:18 |
dakota |
lorfds: There is even a project called 'capcake' that is made for cakephp |
# |
Sep 22nd 2011, 07:18 |
eldamar |
But i still get "Fatal error: Class 'ByteArray' not found" |
# |
Sep 22nd 2011, 07:18 |
eldamar |
App::import('Vendor', 'WrapperClasses', array('file' => 'amfphp'.DS.'core'.DS.'amf'.DS.'util'.DS.'WrapperClasses.php')); |
# |
Sep 22nd 2011, 07:18 |
eldamar |
Hmm, having some problems here... i need to utilize ByteArray in my model, this class is located in vendors/amfphp/core/amf/util/WrapperClasses.php and this is what i have in my model |
# |
Sep 22nd 2011, 07:17 |
dakota |
lorfds: luckily there are plenty of articles out there that detail how to use it with cakephp |
# |
Sep 22nd 2011, 07:16 |
Section58 |
learn ruby is probab;y one of them |
# |
Sep 22nd 2011, 07:16 |
lorfds |
not quite sure what I have to do on the ruby side to make it work |
# |
Sep 22nd 2011, 07:15 |
lorfds |
only thing is i dont have much ruby experience |
# |
Sep 22nd 2011, 07:15 |
diverdude |
thx guys |
# |
Sep 22nd 2011, 07:15 |
lorfds |
dakota--- I've been looking into that |
# |
Sep 22nd 2011, 07:15 |
diverdude |
ok...i18n and cake_session was the only problematic tables at least :) |
# |
Sep 22nd 2011, 07:15 |
dakota |
lorfds: capistrano is pretty darn cool for deployment |
# |
Sep 22nd 2011, 07:11 |
diverdude |
seems to be the only option |
# |
Sep 22nd 2011, 07:10 |
rchavik |
diverdude, just delete the cake_session table first, and recreate after bake |
# |
Sep 22nd 2011, 07:10 |
Section58 |
lorfds: email bluehost, get them to tell you whats what, thus not breaking client, and also getting the best answer |
# |
Sep 22nd 2011, 07:10 |
diverdude |
could tables be called something which makes bake ignore them? |
# |
Sep 22nd 2011, 07:09 |
Section58 |
lorfds: if bluehost allow you to use git, i would email them a extremely perciffic support question relating to git and how you wish to use it |
# |
Sep 22nd 2011, 07:09 |
rchavik |
~bin |
# |
Sep 22nd 2011, 07:09 |
lorfds |
they're good with it.... so I have to be good with it |
# |
Sep 22nd 2011, 07:09 |
lorfds |
Section58 - not mine, it's a clients setup |
# |
Sep 22nd 2011, 07:09 |
lorfds |
assume perms arent an issue.... what is the best deployment option |
# |
Sep 22nd 2011, 07:09 |
Section58 |
lorfds: i wouldn't bother with shared hosting, it doesn't have the same life style |
# |
Sep 22nd 2011, 07:09 |
diverdude |
Section58, w00t with all the options which needs to be entered |
# |
Sep 22nd 2011, 07:08 |
lorfds |
Section58 - I can get shell access on Bluehost |
# |
Sep 22nd 2011, 07:08 |
Section58 |
it will take about 2 hours |
# |
Sep 22nd 2011, 07:08 |
Section58 |
erm no |
# |
Sep 22nd 2011, 07:07 |
diverdude |
but baking 100s of tables manually takes weeks |
# |
Sep 22nd 2011, 07:07 |
rchavik |
one commit contains baked files for 1 model, 1 controller, and its view files |
# |
Sep 22nd 2011, 07:07 |
Section58 |
lorfds: if you don't have a command line, you would need to clone it at home and use ftp to move the files |
# |
Sep 22nd 2011, 07:07 |
rchavik |
in 1 git commit |
# |
Sep 22nd 2011, 07:07 |
diverdude |
in a changeset? |
# |
Sep 22nd 2011, 07:07 |
rchavik |
otherwise you'll have a big commit adding 100s of files |
# |
Sep 22nd 2011, 07:07 |
rchavik |
in a changeset.. |
# |
Sep 22nd 2011, 07:06 |
rchavik |
diverdude, i've if have 100s, i will still do it one by one, the commit to git for each baked files |
# |
Sep 22nd 2011, 07:06 |
Section58 |
will be deleted before your app goes live |
# |
Sep 22nd 2011, 07:06 |
lorfds |
does anyone have any experience with this? what is the best solution> |
# |
Sep 22nd 2011, 07:06 |
Section58 |
about 60%-80% of the code produced from bake |
# |
Sep 22nd 2011, 07:06 |
lorfds |
I would like to push code from github to a shared host....specifically bluehost |