StargateWiki:OfflineCD

aus Stargate Wiki, dem deutschsprachigen Stargate-Lexikon
Wechseln zu: Navigation, Suche
Hinweis Es gibt leider technische Probleme bei der Erstellung der CD. Solange ist leider kein Download möglich
Die Stargate Wiki Offline CD für Windows
Stargate Wiki jederzeit auch ohne Internet.

^Allgemeines

Stargate Wiki bietet jedem die Möglichkeit sich eine eigene Kopie der Daten in diesem Lexikon herunter zu laden. Natürlich ist es nicht notwendig die Daten unbedingt auf eine CD zu brennen. Es ist auch möglich die Daten auf Festplatte oder USB Stick zu kopieren.

Installation

Nach dem herunterladen des ZIP-Archivs muss dieses in ein Verzeichnis entpackt werden. Zum starten wird in diesem Verzeichnis das Programm Server2Go.exe gestartet. Das Programm startet darauf hin den Apache Server und den MySql Server und ruft die Startseite von Stargate Wiki auf. Die Adresse der Seite lautet http://127.0.0.1:4001. Mit dieser Adresse kann man auch später jederzeit die lokale Kopie von Stargate Wiki aufrufen. Das Server2Go aktiv ist erkennt man am Symbol im Tray. Dort kann man den Server auch beenden.

Das Archiv enthält bereits alle Dateien um eine Autostart CD zu erzeugen. Einfach das Archiv komplett auf eine CD brennen.

Aktualität

Die CD wird automatisch jeweils gegen 3.30 Uhr in der Nacht erstellt. Sie enthält alle zu diesem Zeitpunkt in Stargate Wiki enthaltenen Fakten und Bilder.

Was fehlt

Um Speicherplatz zu sparen enthält die CD weder die Scripte noch die Promo-Videos der Atlantis Staffel 4. Werden die entsprechenden Links aufgerufen so werden diese, wenn möglich, aus dem Internet geladen.

Server2Go

Grundlage der Offline CD ist das Projekt Server2Go. Server2Go startet auf einem Windowsrechner eine Serverumgebung. Bestehend aus Apache inkl PHP5 und MySql. Die wichtigsten Parameter zum Einstellen findet man in der Datei pms_config.ini im Hauptverzeichnis der CD.

^Download

Die aktuelle CD kann man sich hier herunterladen. Der Download erfolgt über FTP und sollte mit aktuellen Browser funktionieren. Der Server unterstütz die Wiederaufnahme von gestoppten oder abgebrochenen Übertragungen.

  • per FTP Hinweis Das Archiv wird jeweils gegen 3.30 Uhr in der Nacht erzeugt. Der Aufbau des Archivs dauert ca. 5 Minuten. Um einen Abbruch der Übertragung während dieser Zeit zu vermeiden sollte man, je nach Verbindungsgeschwindigkeit, kurz vor dieser Zeit keinen Download starten. Als Hilfe findet man die ca. Übertragungsdauer, bei guter Verbindung, in der folgenden Tabelle.
Download Geschwindigkeit Geschätze Übertragungsdauer
DSL 1000 40 Minuten
DSL 2000 20 Minuten
DSL 6000 9 Minuten

^Fehler

  • Dateinamen - Einige Bilder sind zwar auf der CD, allerdings können sie vom Wiki nicht angezeigt werden da die Sonderzeichen in ihren Namen nicht richtig auf Windows umgewandelt wurden.

^To do

  • Möglichkeit nur die Bilder und die Datenbank zu laden um diese in eine vorhandene CD einzubinden.
  • Auswahl nur der geänderten Dateien ab einem gewissen Datum
  • Möglichkeit anbieten abgebrochene Downloads wieder aufzunehmen - erledigt durch FTP Link Okay.svg

^pms_config.ini

[general]
;--- If you use the ShowTrayIcon Parameter, you can define a name that is used in the Menu and Tooltip
ServerName=StargateWiki-Server2Go
;--- Shows a splash screen at startup. If here is no value, no splash will be shown. You can set a grafic file
;--- name for images in the Formats: BMP GIF JPG PNG TIF ICO TGA PCX PSD at the moment
UseSplash=sgwcdlogo.png
;--- Show progress bar at startup
ShowStartupProgress=1
;--- You can set a color that will be shown transparent. You need to define a RGB Value
;--- in the style SplashTransparencyColor=128,128,128
SplashTransparencyColor=128,128,128
;--- Set this to true if you want to keep the server running after browser close or if you user NONE as browser type
;--- Please note that the only possibility to shutdown the server is to kill him over the taskmanager if this is true
KeepRunningAfterBrowserClose=1
;--- If the following parameter is 1 Server2Go shows a tray icon for shutting down the server. If you dont like a tray
;--- icon just left this parameter with value 0
ShowTrayIcon=1
;--- Server2Go needs write access to the servers configuration files. For that all config files will be copied to a temp folder
;--- if StartLocal is 0. If you like to use Server2Go in a writeable environment (i.e. harddisk) you can use the value 1
;--- instead. Please note that StartLocal=1 on a CD-ROM will NOT WORK!!!!!
StartLocal=0
;--- You can restrict the amount of running instances of one application to a single instance. That means that a user just can start one 
;--- instance of your webapplication based on server2go. If you set the following parameter to 1 only one instance is allowed
AllowOnlySingleInstance=1


[http]
;--- Defines the hostname that should be shown in the browser url and that is used for the apache server
;--- At the moment only IP addresses or the placeholder {local_ip} is allowed. 
HostName=127.0.0.1
;--- Defines the port that should be used. If this port is in use a unused
;--- port will be searched automatically
Port=4001
;--- The start html/php page, so you can define any page in your document root folder as start file (i.e. pages/start.php)
;--- If empty a huge variety of default handlers is used (index.php, index.html, index.htm...)
DefaultFile=
;--- defines the root directory in that all webfiles are saved
DefaultRoot=htdocs
;--- If value is 1 all temporary files of the http server (sessions...) will be deleted after
;--- Server shutdown
DeleteHttpTemp=1
;--- If HideTempFolder is set to 1 the folder will created as hidden folder
HideTempFolder=1


[Browser]
;--- The browser that is started after server start (possible values: IEXPLORER, FIREFOX, MOZILLA, DEFAULT, EXTERNAL)
BrowserType=MOZILLA
;--- Browser command options like -k (NOT IN USE AT THE MOMENT)
BrowserCommandOptions=
;--- Path to an external browser that is used instead the browser above
BrowserPath=ExternalBrowser/SimpleBrowser.exe
;--- Specify caption text of Work Offline dialog box. You can use mor than one captions (seperated with ;)
;--- The captions for german, english, french, dutch and spanish are build in by default
WorkOfflineTitle=
;--- The size of the started browser. Can be a pixel dimension (1024x768) or the values MAXIMIZE and KIOSK (Internet Explorer only)
BrowserSize=


[database]
;--- 1 if MySQL Server should be started
UseMySQL=1
;--- 1 if the database files from the dbdir directory will be mirrored to 
;--- a directory of the local machine 
LocalMirror=1
;--- 1 if the mirrored database should be overwritten at each start of the
;--- the server
OverwriteLocalMirror=0
;--- The path to that the database should be mirrored, if empty the
;--- default temp directory is used
MirrorFolder=c:\MyS2GApp\Data\
;--- If value is 1 all files of the database server will be deleted after
;--- Server shutdown
DeleteDatabaseFiles=0
;--- The port that should be used for MySQL. If empty the default mysql port is used
MySQLPort=
;--- Commandline parameters (i.e. skip-innodb)
MySQLCmd=--skip-innodb
;--- If HideMirrorFolder is set to 1 the folder will created as hidden folder
HideMirrorFolder=0

[AdditionalParsing]
;--- You can define additional file that will be parsed at startup for replacement string. You can use it i.e. to add the
;--- current server path to a htaccess file or changing configuration files of your webapplication at startup
;--- PLEASE NOTE THAT THIS WILL ONLY WORK IF YOU ARE NOT WORKING ON A WRITE PROTECTED MEDIUM LIKE A CD!!!!!
;--- You can use this on harddisk or usb stick...
File1=
File2=
File3=
File4=
File5=
File6=
File7=
File8=
File9=
File10=

[Path]
;--- You don't need to change anything of the below settings if you work with the out-of-the box Server2Go download package
;--- But if you like to use Server2Go with another webserver package like XAMPP you can change the pathes to your special 
;--- Server package.
;--- Please ensure that you read the FAQ before starting to adapt your Server package
;--- The path to the apache EXE file for starting and shutdown
;PathToApache=server\apache\apache.exe
;--- The path to the httpd.conf file of apache
;PathToHttpdConf=server\apache\conf\httpd.conf
;--- The path to the mysql bin folder
;PathToMysqlBin=server\mysql\bin
;--- The path to the my.ini file of mysql
;PathToMyIni=server\mysql\my.ini
;--- Path to the data directory of mysql
;PathToMySqlData=server\mysql\data
;--- Path to the share directory of mysql
;PathToMySqlData=server\mysql\share
;--- Path to the php.ini file
;PathToPhpIni=server\apache\php.ini