Installation on my webhost servers.

thread: 3 messages  |  last: a year ago  |  started: friday, september 3, 2010, 1:54 am pdt


#1  |  Vaibhav Kaushal (Bangalore, India) India
Friday, September 3, 2010, 1:54 AM PDT

I am planning to develop a small web application using postgresql and Qcodo (of course). I think that code generation is done via Command line by running the CLI tools as mentioned on the website. The problem with me is that I do not have a SSH access and dont have money to pay for it right now.

My question is: If I develop locally on my computer and then upload the whole application directory to the server, will it work?

I am aware that I need to have the database connections and the relation schema set right, just as it is on my computer. But given that I am able to achieve it, would it work?

In case it does not work, is there some other way except using PHP to call the script? I think they have disabled execution from web user accounts on the server.

Waiting for a reply.

#2  |  Mischa Kroon (Holland) Netherlands (Holland, Europe)
Friday, September 3, 2010, 2:50 AM PDT

If you can setup a remote connection to the postgress database from your local pc and have a version of php running then you can just run the commandline tool locally.

So:
Run PHP locally -> setup connection to webhost DB
Run commandlinetool
Upload

And all will work

#3  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Friday, September 3, 2010, 9:17 AM PDT

Actually, I always recommend developing completely on a local computer.

Good software development includes proper software development environments, which means that you should be sure to develop locally, and only deploy to a production environment when it comes time to do a software release.

So yes, I developing locally will definitely work.  I would develop locally, on a local database and local webserver.  When it comes time to build, the simplest thing you could do is write a script which FTPs/SCPs everything to your webserver.

In terms of database builds, if you have no shell access, at the very least you could do is use something like PPHPMyAdmin (if you are using MySQL).  I am pretty sure there are similar tools for PostgreSQL as well.



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.