canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,698
edits
(add some info about repos and servers, outline other sections) |
(added repository layout content) |
||
Line 20: | Line 20: | ||
== Repository layout == | == Repository layout == | ||
Our github repository is organized as follows: | |||
<pre> | |||
├── assets | |||
├── core | |||
├── extensions | |||
├── .git | |||
├── tools | |||
├── composer.json | |||
├── composer.lock | |||
├── env_secrets.php | |||
├── .gitignore | |||
├── .gitmodules | |||
├── htaccess | |||
├── LICENSE | |||
├── LocalSettings.php | |||
├── README.md | |||
└── secrets.php-dist | |||
</pre> | |||
* assets: fonts, logos and favicons | |||
* core: this is the core mediawiki software, managed as a git submodule | |||
* extensions: all utilized extensions are included here, managed either by git as submodules or by composer | |||
* tools: this directory includes install and update scripts, an embedded composer binary and sample apache conf files | |||
* composer.json: required for composer package manager | |||
* composer.lock: required for composer package manager | |||
* env_secrets.php: small php scripts that sets variables used by secrets.php via environmental vars | |||
* LocalSettings:php: mediawiki's LocalSettings file, will be symlinked to from core directory | |||
* secrets.php-dist: example of secrets.php file that needs to be created for each deployment (and is ignored by git) | |||
== Use of git submodules == | == Use of git submodules == |