Full Installation Instructions: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
Line 23: Line 23:
  git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/PageForms.git
  git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/PageForms.git
  git clone https://github.com/thaider/SemanticOrganization
  git clone https://github.com/thaider/SemanticOrganization
=== Run Installation Procedure ===
==== With the Installer ====
Open <code>mydomain.tld/w</code> and follow the instructions, chose Tweeki as a standard skin, activate ParserFunctions, Page Forms, and Semantic Organization extensions.
==== CLI installation ====
Alternatively to install programmatically create <code>LocalSettings.php</code> manually using the [[Example Configuration]], replacing the values for the site name, domain name, database credentials etc.


==== Install Semantic MediaWiki and Semantic Result Formats ====
==== Install Semantic MediaWiki and Semantic Result Formats ====
Line 31: Line 41:
  composer require mediawiki/semantic-media-wiki "~2.5" --update-no-dev
  composer require mediawiki/semantic-media-wiki "~2.5" --update-no-dev
  composer require mediawiki/semantic-result-formats "~2.5" --update-no-dev
  composer require mediawiki/semantic-result-formats "~2.5" --update-no-dev
 
php maintenance/update.php --skip-external-dependencies
==== Run Installation Procedure ====
 
Open <code>mydomain.tld/w</code> and follow the instructions, chose Tweeki as a standard skin, activate ParserFunctions, Page Forms, and Semantic Organization extensions.


Enable SMW by adding this line to <code>LocalSettings.php</code>
Enable SMW by adding this line to <code>LocalSettings.php</code>


  enableSemantics( 'yourdomain.tld' );
  enableSemantics( 'yourdomain.tld' );
Alternatively to install programmatically create <code>LocalSettings.php</code> manually using the [[Example Configuration]], replacing the values for the site name, domain name, database credentials etc.
==== Update database ====
php maintenance/update.php --skip-external-dependencies

Revision as of 14:30, 8 August 2018

Full Installation

Create database

mysql> create database sandbox;
mysql> grant all on sandbox.* to sandbox@localhost identified by '***';

Download MediaWiki

wget https://releases.wikimedia.org/mediawiki/1.31/mediawiki-1.31.0.tar.gz
tar xvzf mediawiki-1.31.0.tar.gz 
mv mediawiki-1.31.0 w
rm mediawiki-1.31.0.tar.gz

Download Tweeki Skin

cd w/skins/
git clone https://github.com/thaider/Tweeki

Download extensions

cd ../extensions/
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/PageForms.git
git clone https://github.com/thaider/SemanticOrganization

Run Installation Procedure

With the Installer

Open mydomain.tld/w and follow the instructions, chose Tweeki as a standard skin, activate ParserFunctions, Page Forms, and Semantic Organization extensions.

CLI installation

Alternatively to install programmatically create LocalSettings.php manually using the Example Configuration, replacing the values for the site name, domain name, database credentials etc.

Install Semantic MediaWiki and Semantic Result Formats

Composer installieren

cd ..
composer require mediawiki/semantic-media-wiki "~2.5" --update-no-dev
composer require mediawiki/semantic-result-formats "~2.5" --update-no-dev
php maintenance/update.php --skip-external-dependencies

Enable SMW by adding this line to LocalSettings.php

enableSemantics( 'yourdomain.tld' );