r9 - 08 Jan 2008 - 12:33:28 - MatthiasThullnerYou are here: TWiki >  Codev Web > TWiki2Go
Tags:
, create new tag

TWiki2Go

download TWiki2Go.zip (67MB)

Description

TWiki2Go is a TWiki that runs out of box without any installation on Windows. It supports full TWiki functionality and can also run other PHP, MySQL and Perl applications!
Just extract TWiki2Go.zip to any directory and start .\TWiki2Go\server2go.exe.

TWiki2Go runs on Server2Go from Timo Haberkern, see http://server2go-web.de/.

The attached TWiki2Go.zip is based on TWiki 4.2.0 rc 2 Windows Installer.

Use Cases

  • Use TWiki2Go to take your intranet with you when you are on the road. Content can be updated from intranet with TWiki2GoUpdate.
  • Use TWiki2Go to try TWiki without installing anything on your Windows PC.

TODOs

  • Test additional plugins and add-ons
  • Test TWiki2Go on write protected mediums, e.g. CD-ROM
  • Reduce size of package. Zip file is quite big for up-/downloading on TWiki.org (68MB, 203MB unzipped). (Our Intranet TWiki is 2GB without rcs archives, 5GB includig rcs archives, so the size of the server does not matter that much).
    • Use TinyWeb webserver instead of Server2Go, but Server2Go supports more features (see TWikiForWindowsPersonal, TWiki 4.2rc2 with TinyWeb: zipped 17MB, unzipped 50MB)
      or
    • Reduce Server2Go ./server/ size
      • Remove PHP support (- 45MB), probably needs to recompile Server2Go ?!?
      • Remove unused Perl packages (- 100MB)
      • Another idea: Compile TWiki to a single twiki.exe with PerlApp? from ActiveState (-100MB). This would need to rewrite some parts of TWiki, like loading of modules and parameter handling. Perl would not be required at all, but installation of additonal plugins after compile time would not be possible.

What is Server2Go

server2go_logo.png Server2Go runs on Windows, a MacOS version is under development.

From website: "Server2Go is a Webserver that runs out of box without any installation. That means it is a webserver that can run directly from cdrom, usb stick or from any folder on harddisk. Server2Go allows you to create a standalone working web site or PHP application on a CD-ROM. Server2Go was primary developed for the usage on CD-ROM but there is no problem use it from other drives too. Using a web browser, a user can run php programs as well as view html files on the CD-ROM."

Attention: This is not free GPLed software, it is "donationware" where you need to pay if commercially used.

How to build TWiki2Go

TWiki2Go_patch.png

It is not possible to upload a zipped TWiki2Go here. You can build it yourself by:

  • download Server2Go
  • download TWiki (I used the Windows installation from TWikiOnWindows and installed it)
  • copy complete TWiki installation into ./htdocs dir of Server2Go
  • set up TWiki2Go by unzipping zip TWiki2Go_patch.zip. This will do all necessary changes described below...

Changes on TWiki

search for MTH in TWiki sources

adapt perl scripts/packages:

  • rename to *.pl
  • change shebang to #!Perl
  • search does not work ???
    • Sandbox.pm: sysCommand() executes in REAL_SAFE_PIPE_OPEN, but does not work -> force to execute in unsafe shell (dos command)
    • Forking.pm: option wordboundaries is always true, uncommented
          if ($options->{wordboundaries} ) {
              #TWiki::Func::writeDebug( "MTH-DEBUG: Forking->search - wordboundaries");
              #MTH $searchString = '\b'.quotemeta( $searchString ).'\b';
          }
          

make all paths relative:

  • change all (requires expert mode) paths in configure.pl
  • lib/TWiki/Sandbox.pm line TODO; removed check for relative paths:
            #MTH do not throw error with relative paths, required for !TWiki2Go
            #if ($component eq '..') {
            #    throw Error::Simple( 'relative path in filename '.$string );
            #} elsif ($component =~ /$TWiki::cfg{NameFilter}/) { 

optional Changes on TWiki

  • install TWiki2GoUpdate / TWiki2GoUpdateAddOn?
  • remove rcs archives (to save disk space)

Changes on Server2Go

  • remove server/MySQL to save disk space
  • PHP could not be removed

splash screen

  • splash screen for TWiki2Go:
    splash_TWiki2Go.png

-- Contributors: MatthiasThullner - 26 Dec 2007

Discussion

Thanks Matthias for sharing this with the TWikiCommunity!

Small feedback: The TWiki logo has been designed for a light background, it does not look nice on a black background as seen in the splash screen. A TWiki logo with black background should be created.

-- PeterThoeny - 02 Jan 2008

I increased the attach file limit to 100GB in the Codev web, you should be able to attach the package now.

-- PeterThoeny - 02 Jan 2008

Thanks Matthias for attaching the zip file.

Suggestion: Use the TWiki convention for release package names. For example, TWikiRelease04x02x00rc2 is TWiki-4.2.0-rc2.zip, TWikiForWindowsPersonal's package is TWiki-WP-4.0.5.zip. Your package could be named TWiki2Go-4.2.0-rc2.zip.

-- PeterThoeny - 08 Jan 2008

Peter,

I agree that a naming convention for 'release' packages is a good idea, what about TWiki2Go-Windows-4.2.0rc2.zip

Can you please rename the package to TWiki2Go-Windows-4.2.0rc2.zip. Upload took very long and I do not want to waste sever disk space by uploading the same package with a different name.

BTW I removed TWiki2GoUpdate from TWiki2Go, if wanted, everybody can install the add-on seperatly afterwars.

-- MatthiasThullner - 08 Jan 2008

 
BasicForm
TopicClassification TWikiCommunity
TopicSummary a mobile TWiki for Windows without the need of installing anything
InterestedParties people that want to try TWiki
RelatedTopics TWikiForWindowsPersonal, TWikiOnMemoryStick, TWikiOnWindows, Server2Go
Topic attachments
I Attachment Action Size Date Who Comment
zipzip TWiki2Go.zip manage 67287.0 K 08 Jan 2008 - 00:50 MatthiasThullner zipped TWiki2Go
pngpng TWiki2Go_patch.png manage 17.3 K 29 Dec 2007 - 12:10 MatthiasThullner files in TWiki2Go_patch
zipzip TWiki2Go_patch.zip manage 1148.7 K 08 Jan 2008 - 12:33 MatthiasThullner all changes necessary for TWiki2Go
pngpng splash_TWiki2Go.png manage 39.9 K 27 Dec 2007 - 15:42 MatthiasThullner splash_TWiki2Go.png
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r9 < r8 < r7 < r6 < r5 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo