Difference between revisions of "SMW Installation"
From Lyndsey Twining
(Created page with "==MediaWiki Installation== *Copy MW file into public_html on server *Extract file **cd ~/public_html **tar -xvzf mediawiki-1.27.1.tar.gz **mv mediawiki-1.27.1 wiki **ls -l ==...") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
*Copy MW file into public_html on server | *Copy MW file into public_html on server | ||
*Extract file | *Extract file | ||
− | + | cd ~/public_html | |
− | + | tar -xvzf mediawiki-1.27.1.tar.gz | |
− | + | mv mediawiki-1.27.1 wiki | |
− | + | ls -l | |
==MediaWiki Set-Up== | ==MediaWiki Set-Up== | ||
*Go to address | *Go to address | ||
*Follow instructions | *Follow instructions | ||
− | *Add | + | *Download LocalSettings.php |
+ | *Add LocalSettings.php to FTP | ||
==Install Composer== | ==Install Composer== | ||
Line 17: | Line 18: | ||
==Install SMW using Composer== | ==Install SMW using Composer== | ||
− | php composer.phar require mediawiki/semantic-media-wiki "~2.5" | + | php composer.phar require mediawiki/semantic-media-wiki "~2.5" |
php composer.phar update --no-dev | php composer.phar update --no-dev | ||
− | php maintenance/update.php | + | php maintenance/update.php --skip-external-dependencies |
− | Add enableSemantics( 'dh.aks.ac.kr/~semantic/wiki' ); | + | Add to LocalSettings.php and update to FTP |
+ | enableSemantics( 'dh.aks.ac.kr/~semantic/wiki' ); | ||
+ | |||
+ | ==Update Semantic Properties== | ||
+ | php maintenance/runJobs.php |
Latest revision as of 06:54, 9 July 2018
Contents
MediaWiki Installation
- Copy MW file into public_html on server
- Extract file
cd ~/public_html tar -xvzf mediawiki-1.27.1.tar.gz mv mediawiki-1.27.1 wiki ls -l
MediaWiki Set-Up
- Go to address
- Follow instructions
- Download LocalSettings.php
- Add LocalSettings.php to FTP
Install Composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php composer-setup.php
Install SMW using Composer
php composer.phar require mediawiki/semantic-media-wiki "~2.5" php composer.phar update --no-dev php maintenance/update.php --skip-external-dependencies
Add to LocalSettings.php and update to FTP
enableSemantics( 'dh.aks.ac.kr/~semantic/wiki' );
Update Semantic Properties
php maintenance/runJobs.php