I’m trying to get bake working on my subdomain which is under shared hosting.
Is there a way we can get this working? I know how to connect to server via ssh shell but then what do I do after that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First
cdto the directory where the cake script is. On a Linux webserver, this would probably be something like~/cake/console/, if you’ve put the CakePHP libs outside your web-accessible directories. If you’ve put everything into your web directory you’ll probably have to go somewhere like~/www/cake/console/.Then simply type
./cake bakeand take it from there.You shouldn’t have to do anything with environment variables. This is only necessary if you want to be able to run the cake console from any directory. I find it less of a hassle to just
cdinto the cake console’s directory and run it using./cake.