# |
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 |
# |
Sep 22nd 2011, 07:06 |
diverdude |
rchavik, but how many tables do you have? |
# |
Sep 22nd 2011, 07:06 |
rchavik |
i alway bake one model, then its controller, then its views |
# |
Sep 22nd 2011, 07:06 |
Section58 |
also, don't be scared to delete the crap code it projuces |
# |
Sep 22nd 2011, 07:06 |
rchavik |
diverdude, i use bake all the time, but i never use 'all' |
# |
Sep 22nd 2011, 07:05 |
Section58 |
so lets say you have a multitree behavoir, with a higharcial structure with a table called root_id .... that will break it |
# |
Sep 22nd 2011, 07:05 |
diverdude |
true...just is hacky...if i need to re-cake i have to do it over again |
# |
Sep 22nd 2011, 07:05 |
Section58 |
*bake will |
# |
Sep 22nd 2011, 07:05 |
Section58 |
bake with mash it as it sees it |
# |
Sep 22nd 2011, 07:05 |
Section58 |
bake doesn't make the whole thing, and if your naming conventions are slightly wrong |
# |
Sep 22nd 2011, 07:04 |
Section58 |
then add on the specials a the end |
# |
Sep 22nd 2011, 07:04 |
Section58 |
you could build all of it |
# |
Sep 22nd 2011, 07:04 |
Section58 |
if you deleted the table that errored |
# |
Sep 22nd 2011, 07:04 |
Section58 |
but logically |
# |
Sep 22nd 2011, 07:04 |
Section58 |
remmber that i don't use bake |