One of the most simple scripts is maybe sth like
#!/bin/bash
echo "### INSTALL ###";
php composer.phar selfupdate
git pull
php composer.phar install --prefer-dist --no-dev --optimize-autoloader
echo "### CLEANUP ###";
rm -rf ./tmp/cache/models/*
rm -rf ./tmp/cache/persistent/*
echo ### DONE
I read both lins but the picture is still not clear for me.
I want something simple script what checks what is the version on the
server and update it on the production server. What if I just have a
normal git repo on the production server and run git pull regularly?
Is it a safe way to do it?
rr
Using git hooks (http://git-scm.com/book/be/v2/Customizing-Git-Git-Hooks)
or capistrano (http://capistranorb.com/).
On Thu, Jan 15, 2015 at 8:49 AM, Radharadhya Dasa wrote:
> Hi,
>
> I have a CakePHP app hosted at github. What is the best way to deploy it
> to the production server?
>
> rrd
>
>
Hi,
I have a CakePHP app hosted at github. What is the best way to deploy it to
the production server?
rrd
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"Cak