Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 09:34:51 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155535 Posts in 21713 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: wbinstaller based on joomla installer  (Read 571 times)
elarifr

Offline Offline

Posts: 115



WWW
« on: May 26, 2010, 04:40:15 PM »

hi
i've just played a little with joomla jinstaller and changed it to make wbinstaller

wbinstaller job is to download directly the wb.zip archive (stable, update, lastest svn) and expand it on your server.

so it install wb in few second instead of the usual ftp (no interrest if you have root access to unzip in command line) but can help


for the stable / update it make an error as it seems it can't download the file from the offical link (it need a direct link)
so i'v added a link for wb from my demo page to test

it works for the svn version exept it includes the branches/wb2.8/wb...  Sad

you can easily add your own dload link with a personnal modded wb to install

elarifr





Logged

Accedinfo.com - Société de maintenance informatique sur Strasbourg pour particuliers et entreprises. Tel +33 3 88 33 77 45
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #1 on: May 26, 2010, 05:41:54 PM »

Interesting Solution ... btw, the last stable version is always accessible via SVN  as well, it is in the tags subdirectory ... as long as the SVN is not offline.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

elarifr

Offline Offline

Posts: 115



WWW
« Reply #2 on: May 26, 2010, 06:16:02 PM »

yep
working with the svn tags

Code:
$packs[] = array("http://project.websitebaker2.org/changeset/1365/tags/2.8.1?old_path=%2F&format=zip",
"zip","WebsiteBaker 2.8.1 SVN","websitebaker2.org");

but the directory are included with tags/wb...
so we can add in the $packs some more option like the tree to expand / the file to run after unpack

we should also create a zip backup of existing files before unpacking a new version

so that i can be an easy wb core installer/upgrader


elarifr

Logged

Accedinfo.com - Société de maintenance informatique sur Strasbourg pour particuliers et entreprises. Tel +33 3 88 33 77 45
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2296



WWW
« Reply #3 on: May 26, 2010, 10:06:04 PM »

Played with something like this a long time ago..
I used the WB site main download link to get the package.

Problems you will run into are:
how to uninstall later?
When the files are unpacked by the web-user, you cannot remove (or edit) them by the FTP user.
You will need an uninstaller, or Control panel access to remove the files.

how to upgrade FTP installations?
Upgrading a FTP installed site gives you a similar problem.
Any file uploaded by FTP originally will not allow upgrading/overwriting.

Just my 2 cents..
Logged

Professional WebsiteBaker Solutions
elarifr

Offline Offline

Posts: 115



WWW
« Reply #4 on: May 27, 2010, 04:39:14 PM »

hi

right, it can be a problem if you have php / ftp running in defferent account

but on most shared hosting php & ftp run the same account (i use mainly ovh.com servers )

br
elarifr
Logged

Accedinfo.com - Société de maintenance informatique sur Strasbourg pour particuliers et entreprises. Tel +33 3 88 33 77 45
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #5 on: May 27, 2010, 07:51:43 PM »

this is very interesting to me too
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
elarifr

Offline Offline

Posts: 115



WWW
« Reply #6 on: March 11, 2012, 10:31:37 PM »

updated wbinstaller to add
wb 2.8.3
wb 2.8.2 1528

decompress the zip
upload to your web hosting
call the script
select version you want to install

it will upload and decompress the selected version in the place where you run the wbinstaller,
meaning you'll have a wb folder in you root
use you ftp software to move file where you want

depending on you host you can run in some trouble Sad

br
elarifr

Logged

Accedinfo.com - Société de maintenance informatique sur Strasbourg pour particuliers et entreprises. Tel +33 3 88 33 77 45
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!