View Full Version : One-click installion
01-10-2008, 10:24 PM
I am shy so please easy on me, ok! Please.
I've been toying with a procedure to make 1-click installation. All things like files, folders, database creation, copying are easy enough to automate. All that things have been checked out to have proper rights. The only 3 things need to be unique are table prefix, admin password (the admin name will be admin) and email address. These three things are also available via user host account info. So seems all thing prerequisites are available. Now if my clients just click a link to a php procedure then everything would be ready for him.
I spent 3 days since 1-7, hacked away the sources and came up with a procedure. May I present it here for advise, review, criticism?
01-11-2008, 12:49 AM
Yes, yes, yes~
Please post. I install this program over and over and over again for my photography students and its getting a bit tiresome. I would love nothing more than to see some sort of one click install. Fantastico in C-Panel does a great job of one click installing Gallery but they do not offer pixelpost which is far superior in user friendliness. I would love to see how you have approached this issue and if its something I could use. Thanks!
Now there will be nice installation via web. We belive it will be better then editing source files.
01-11-2008, 01:17 PM
I agree that the installation we have now with 1.7 is excellent. However, it requires parameters that sometimes, in some situation, very high end users don't have such as database name, database password, for example. Let's say, like users of a forum. They do have username and password only.
01-11-2008, 07:16 PM
Finally, I have everything worked out. The source is 25K long and can not be posted here that limits to 10K. So here it is: http://56degrees.com/oneClick.zip
Please give me feedback, will you?
Indeed it need "few" data but remember that it cant guess it from nowhere. User must put it as only in this way it can start to work.
In some free time Ill try to take a look on your solution.
PS Generally there is enough to copy all files except content of /images and /thumbnails dirs, change MySQL data inside /includes/pixelpost.php and copy DB to target place (with target table prefix) and it should be ready to work with previous installation as base for this new one :)
01-12-2008, 01:30 AM
I'm not sure what I am missing here, but it didn't work for me. I add the file and when I go to it, it first said that the "includes/pixelpost.php" file was missing. So I added that file and only that file to the folder. And then I simply get an error message. If I have to add all the PP files, configure the pixelpost.php file, add a MySQL database, create a user for the database........ I don't see how that is a "one click" solution. Did I miss something? Ah well...
01-12-2008, 02:38 AM
I don't see how that is a "one click" solution. Did I miss something? Ah well... In the earlier post I had some hint about that. The one-click solution is not probably for you but for, as an example, from EcoSee:Please post. I install this program over and over and over again for my photography students and its getting a bit tiresome. I would love nothing more than to see some sort of one click install.
Another example, which is my case:
I host a forum of few hundred members. I would like to offer to all and every member a copy of Pixelpost that they can used as their family photo albums. Now my members are non-computerese and they don't know database or anything like that; and of course I have to set them up for them. All I have to do is automating the files and directories copy process and they install it with their own names and passwords.
I wonder if I make any sense!!! Hmmm!
Edit: And I don't have to tell them database name, password and all that host's deep secret.
I just proposed as a solution. Depending on how you host environment, you need to write a files and folders copying program. And that is a separate issue altogether.
01-12-2008, 04:19 AM
So its not for me...but someone more like EcoSee... (Sshh... that's me!) Anyways, I sure would love to have something like a fantastico style one click install where all of the MySQL stuff is automated and the files just magically appear in the folders. That would be cool. :D Thanks for your effort.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.