# |
Apr 18th 2017, 16:50 |
theaxiom |
after you rsync, you can then delete the source |
# |
Apr 18th 2017, 16:49 |
hmic |
theaxiom: you miss his point: making webroot public, not the rest! |
# |
Apr 18th 2017, 16:49 |
theaxiom |
`rsync -vaz` |
# |
Apr 18th 2017, 16:49 |
theaxiom |
I would use rsync if anything |
# |
Apr 18th 2017, 16:49 |
theaxiom |
I wouldn't do a symlink |
# |
Apr 18th 2017, 16:49 |
kareylo |
Or symlink it |
# |
Apr 18th 2017, 16:48 |
theaxiom |
otherwise, clone it and then rsync it |
# |
Apr 18th 2017, 16:48 |
hmic |
sjundee: you can configure the webroot dir to any other dirname, like your public_html |
# |
Apr 18th 2017, 16:48 |
theaxiom |
as long as public_html/ is empty |
# |
Apr 18th 2017, 16:48 |
theaxiom |
you should just be able to clone right into public_html/ |
# |
Apr 18th 2017, 16:48 |
theaxiom |
by default, it should automatically only make /webroot/ public via .htaccess |
# |
Apr 18th 2017, 16:48 |
theaxiom |
@sjundee wait a sec... |
# |
Apr 18th 2017, 16:47 |
theaxiom |
clone it into a new directory by itself and use .htaccess to redirect to webroot |
# |
Apr 18th 2017, 16:47 |
sjundee |
So `~/cake_app/` then. Then how would I make `~/cake_app/webroot/` public, but not the rest? |
# |
Apr 18th 2017, 16:47 |
theaxiom |
you can use .htaccess |
# |
Apr 18th 2017, 16:46 |
kareylo |
Create en folder and deploy in that folder |
# |
Apr 18th 2017, 16:45 |
sjundee |
I'm trying to deploy an app I have been working on. It's on a shared hosting with SSH-access. When cloning to home directory (one level higher then public_html), it fails because directory is not empty. What would you do in a case like that? |
# |
Apr 18th 2017, 16:41 |
sjundee |
Hi pips! |
# |
Apr 18th 2017, 15:36 |
burzum |
Hmm let me review this, maybe we can work together. |
# |
Apr 18th 2017, 15:34 |
theaxiom |
Just getting started on it, but I hope to have the MVP done in the next few weeks |
# |
Apr 18th 2017, 15:33 |
theaxiom |
@burzum https://socialplex.us |
# |
Apr 18th 2017, 15:33 |
burzum |
There is Moosocial, they claim to use Cake but I dont know the version. |
# |
Apr 18th 2017, 15:33 |
admad |
@burzum none that is know of but @theaxiom is working on something |
# |
Apr 18th 2017, 15:31 |
Junior` |
addDefaults, sorry |
# |
Apr 18th 2017, 15:31 |
burzum |
Anyone knows a CakePHP3 based social network script? I don't mind paying for it if I can review the source. I've seen other (non cake) scripts before and ran away after I've seen the source. |
# |
Apr 18th 2017, 15:30 |
Junior` |
using cakephp 3 and i have a filed in mysql that is bigint, but cake makes it int when the query is returned, how can i change that ? |
# |
Apr 18th 2017, 15:29 |
Junior` |
yello :) |
# |
Apr 18th 2017, 15:06 |
jeremyharris |
so you should be good |
# |
Apr 18th 2017, 15:06 |
jeremyharris |
CraddockJ it’s true by default |
# |
Apr 18th 2017, 14:38 |
CraddockJ |
Looking for a little clarity for cascade deletes in cakephp 2. In the model i've set the dependent property to true, is that all that is necessary or do I have to specify cascade = true in the controller delete? Presently I'm just using $this->Company->delete() |
# |
Apr 18th 2017, 14:08 |
mampel |
@dakota yes I use homebrew for install my packages, and my macOS ver is sierra 10.12, you said mamp is full of issues but I wanted to test mamp for this solution instead of xampp becoz I have no way :| |
# |
Apr 18th 2017, 14:07 |
Junior |
i know that i load it because i have started to do debug inside the plugin as my user var is null |
# |
Apr 18th 2017, 14:06 |
Junior |
sorry, brb |
# |
Apr 18th 2017, 14:06 |
Junior |
Same thing |
# |
Apr 18th 2017, 14:06 |
Junior |
I have added to AdminController as all my controllers extend Admin and not App |
# |
Apr 18th 2017, 14:05 |
Junior |
yep |
# |
Apr 18th 2017, 14:02 |
nemmons |
did you follow all the instructions here https://github.com/UseMuffin/Footprint including adding the FootprintAwareTrait to your AppController? |
# |
Apr 18th 2017, 13:58 |
Junior |
i have modified, my columns are updated with empty strings |
# |
Apr 18th 2017, 13:38 |
Junior |
i see, will try now, thanks! |
# |
Apr 18th 2017, 13:36 |
nemmons |
It works great for me. The default config settings specify the columns as 'created_by' and 'modified_by' so you might have to tweak the config for your column names |
# |
Apr 18th 2017, 13:36 |
Junior |
will give it another go then |