# |
Mar 11th 2018, 05:34 |
joddit |
Anyone alive at the moment? |
# |
Mar 11th 2018, 05:33 |
savant |
was going to answer him |
# |
Mar 11th 2018, 05:33 |
savant |
ah dang he left |
# |
Mar 11th 2018, 05:27 |
ReallyTallGuyBri |
when making custom URL's *** |
# |
Mar 11th 2018, 05:27 |
ReallyTallGuyBri |
I prefer to use $this->Html->link() to create links but it seems clunky when not making custom URL's |
# |
Mar 11th 2018, 05:26 |
ReallyTallGuyBri |
I have the routing out of the way, but do I now just hand code the URL's in views? Or is there some more "proper" way |
# |
Mar 11th 2018, 05:26 |
ReallyTallGuyBri |
Quick question, how does one institute slugs in an intelligent way in regard to creating links to deeper structures such as http://blah.com/articles/(category_name)/(article_slug) |
# |
Mar 11th 2018, 04:42 |
ricksaccous |
alright i will |
# |
Mar 11th 2018, 04:39 |
savant |
let me know if you have issues, im a maintainer of it. |
# |
Mar 11th 2018, 04:37 |
ricksaccous |
and i figure it out without too much trouble haha |
# |
Mar 11th 2018, 04:37 |
ricksaccous |
if it's easy enough |
# |
Mar 11th 2018, 04:37 |
ricksaccous |
but maybe i could switch over production servers later |
# |
Mar 11th 2018, 04:37 |
savant |
heh ok |
# |
Mar 11th 2018, 04:37 |
ricksaccous |
i'm going to look into your solution but first going to fix up some stuff, like the permissions mess and such, haha, kind of want to soft launch this site soon, as in a couple days |
# |
Mar 11th 2018, 04:31 |
ricksaccous |
ok |
# |
Mar 11th 2018, 04:31 |
savant |
yes |
# |
Mar 11th 2018, 04:31 |
ricksaccous |
should i just make all files owned by the group user? |
# |
Mar 11th 2018, 04:30 |
ricksaccous |
yeah |
# |
Mar 11th 2018, 04:30 |
savant |
maybe some file is owned by root or something. |
# |
Mar 11th 2018, 04:30 |
savant |
in any case, that sounds like a specific file is not writeable by the current user |
# |
Mar 11th 2018, 04:30 |
savant |
it handles the application deployment bits and will get you away from needing to worry about these permissions issues :slightly_smiling_face: |
# |
Mar 11th 2018, 04:29 |
savant |
because if you can, this is what the CakePHP organization uses: http://dokku.viewdocs.io/dokku/ |
# |
Mar 11th 2018, 04:29 |
ricksaccous |
I'm using aws hosting |
# |
Mar 11th 2018, 04:29 |
savant |
are you allowed to setup a new one? |
# |
Mar 11th 2018, 04:29 |
ricksaccous |
amazon |
# |
Mar 11th 2018, 04:29 |
savant |
is this your own server? |
# |
Mar 11th 2018, 04:29 |
savant |
thats going to bite you in the ass |
# |
Mar 11th 2018, 04:29 |
savant |
woof |
# |
Mar 11th 2018, 04:29 |
ricksaccous |
i'm git pulling in "production" heh |
# |
Mar 11th 2018, 04:28 |
ricksaccous |
error: unable to unlink old |
# |
Mar 11th 2018, 04:28 |
savant |
wait how are you deploying this code? |
# |
Mar 11th 2018, 04:28 |
ricksaccous |
to over-write the file |
# |
Mar 11th 2018, 04:28 |
savant |
what permission is denied |
# |
Mar 11th 2018, 04:28 |
ricksaccous |
but i try to do a pull and get permission denied |
# |
Mar 11th 2018, 04:28 |
ricksaccous |
it's technically not production yet but it will be |
# |
Mar 11th 2018, 04:27 |
ricksaccous |
let's say i have a git repo in "production" |
# |
Mar 11th 2018, 04:27 |
savant |
you should only have the webroot directory accessible via your virtual host |
# |
Mar 11th 2018, 04:27 |
ricksaccous |
in cakephp web apps |
# |
Mar 11th 2018, 04:26 |
ricksaccous |
what are recommended permissions for files and folders |
# |
Mar 10th 2018, 20:52 |
nomos |
hello |
# |
Mar 10th 2018, 18:43 |
obinoob |
need to add validation rule that can constraint the following: $rules->add($rules->isUnique(['active' => true, 'team_id'], 'User already has one team active')); obviously that true is not allowed here... |