lambdaspeech
::
download
2
|
list
|
login
|
load
|
|
_h1 download & install _p All operations that follow assume that you have a web account (on a server running PHP without any required database system) and that you are able to use a FTP tool for uploading and downloading files. Filezilla fits perfectly. _h2 minimal installation _p The minimal installation is straightforward: _ul 1) download the ~25kb [[archive|archive.zip]], ;; [[github archive|https://github.com/amarty66/lambdaway/achive/master.zip]] _ul 2) unzip the archive, you get a ~100kb folder named "archive", _ul 3) rename it for instance "my_wiki", avoiding spaces and esoteric characters, _ul 4) open your FTP tool and upload the folder to your web account. _p Your wiki "{b my_wiki}" is ready! Now: _ul 1) open any modern web browser and go to "my_wiki" in your web account, _ul 2) the start page displays "Hello World", _ul 3) click on the title "start" to open the edit menu, _ul 4) in the editor frame, under the first line containing {code _{span}h1 Hello World} write for instance {code _{span}p This is my first sentence}, a new paragraph has been added, _ul 5) then choose "save" in the menu. _p Congratulations, your new page {b start is on internet}! _p {b Note:} But, maybe, not yet !! Your wiki is ready but your provider may have installed a protection against writing ! For instance, if your web account provider is [[www.free.fr|http://www.free.fr/]], you must create a folder "sessions" at the root of the account ; it doesn't work without. Other providers may have similar constraints. It's up to you to discover them :( _p Later you will improve this installation. _h2 improved installation _p '{lambda tank} doesn't provide any inline administration interface, parameters must be edited in the "config.php" pure text file before uploading the wiki. You will find the {b config.php} file in the {b meca} folder. This its predefined state: {pre °° define ( "WIKI_NAME", "lambdaspeech" ); define ( "LOCK", false ); // false -> the wiki can't be edited define ( "START", "start" ); // "start", "accueil" define ( "FORUM", "agora" ); // "FORUM" and "SANDBOX" always editable define ( "SANDBOX", "sandbox" ); // name could be "#&§è!çà" for prevent it define ( "LOAD_MAX", "200"); // maximum size of uploadable files // don't modify define ( "VERSION", "lambdaspeech v.20180925" ); define ( "TITLE", WIKI_NAME ); define ( "PAGES", "pages/" ); define ( "HISTORY", "history/" ); // caution, passwords are not crypted $users = array( "one" => "azertyuiop" , "two" => "qsdfghjklmù" , "three" => "&é"'(§è!çà)-" ); °°} _h3 1) change name _p By default, the name of the wiki is {b lambdaspeech}. In order to replace it with the name of your choice, you must be able to use a "plain text" editor like NotePad/NotePad2 on Windows, TextEdit/Smultron on Mac, Kedit on Linux. Verify that the text encodage is "UTF-8". _ul open your local folder « archive », _ul find the file « config.php », duplicate this file for security, _ul open it with the text editor, find the line {code define ("WIKI_NAME", "lambdaspeech")} and replace {b lambdaspeech} by your name, say {b toto's wiki}, _ul save the file and upload it on your web account. _p The complete title of your pages will be now {b toto's wiki :: start}, the wiki's address and the name pf the first page. _h3 2) create a users login array _p By default, the wiki has one predefined login:password. This is the process to define a set of authorized editors : _ul find and open the file « config.php » with the text editor, _ul find the predifined array and edit it, you can define several authorized people: {pre {@ style="padding-left:50px;"} °° $users = array( "one" => "azertyuiop" , "two" => "qsdfghjklmù" , "three" => "&é"'(§è!çà)-" ); °°} _h3 Notes: _ul Be careful when you modify this file, duplicate it before. _ul Anybody can edit the pages [[forum]] and [[sandbox]] and it may be undesirable. It's hardcoded in the "meca/PHP.php" file. There is a simple "hack" to hide them : _ul30 find and open the file « config.php » with the text editor, _ul30 give to the two constant "FORUM" and "SANDBOX" some obfuscated name like "@&é§èçà", {i et voilà !}, nobody will be able to reach them ! _h3 3) more later _p Meanwhile the '{lambda speech}'s start page gives precisions about the wiki's interface.
lambdaspeech v.20200126