(6 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
# Run the installation script | # Run the installation script | ||
− | ./ | + | ./install_open_csp.sh <mediawiki directory> |
From this point on the script will guide you through all the necessary steps for installation. | From this point on the script will guide you through all the necessary steps for installation. | ||
Line 19: | Line 19: | ||
* logo/Logo.svg - The Open CSP logo. You can replace this with your own logo and it will be preserved in upgrades. If present it will not be overwritten by the install script unless you explicitly choose to let it do so. | * logo/Logo.svg - The Open CSP logo. You can replace this with your own logo and it will be preserved in upgrades. If present it will not be overwritten by the install script unless you explicitly choose to let it do so. | ||
* skin/* - CSP skin files | * skin/* - CSP skin files | ||
− | * wsps/* - Pages to be imported, this will be done by | + | * wsps/* - Pages to be imported, this will be done by PageSync; one of the extensions installed in the composer step. |
== Additional install options == | == Additional install options == | ||
Line 35: | Line 35: | ||
This allows this install script to be used in things like a Dockerfile or a cloud-init script for VPS deployment. | This allows this install script to be used in things like a Dockerfile or a cloud-init script for VPS deployment. | ||
+ | |||
+ | == Installation done == | ||
+ | Make sure to [[DevOps:Doc/Open_CSP/2.0/Additional content|Install Additional Content]] to get you started with Open CSP easily. | ||
ws-class-props | |||
---|---|---|---|
Line 2: | Line 2: | ||
|Subject version=2.0 | |Subject version=2.0 | ||
|Doc subject=DevOps:Doc/Open CSP | |Doc subject=DevOps:Doc/Open CSP | ||
− | |Doc sort order= | + | |Doc sort order=20 |
− | |Doc target group= | + | |Doc target group=Administrator |
+ | |Doc synopsis=How to install Open CSP | ||
+ | |Doc parent= | ||
}} | }} |
Latest revision as of 22:06, 2 November 2023
Prerequisites for a successful installation
Make sure the MediaWiki installation you want to install Open CSP on meets the requirements.
Steps to install Open CSP
Then follow these steps to set up your Open CSP wiki:
- Copy the installation script from this GitHub repo to your mediawiki server.
- Run the installation script
./install_open_csp.sh <mediawiki directory>
From this point on the script will guide you through all the necessary steps for installation.
Should it be aborted or run into an error, if you restart it will restart from the step it failed at. If you would like it to re-run from the start instead you can add the parameter –skip-steps=0 to do this.
Files that will be installed
- composer.local.json - For installing all the necessary extensions.
- settings/CSPSettings.php - This file contains all the CSP related MediaWiki settings. It is to be included from LocalSettings.php (install step 2 will take care of this)
- logo/Logo.svg - The Open CSP logo. You can replace this with your own logo and it will be preserved in upgrades. If present it will not be overwritten by the install script unless you explicitly choose to let it do so.
- skin/* - CSP skin files
- wsps/* - Pages to be imported, this will be done by PageSync; one of the extensions installed in the composer step.
Additional install options
The install script for this release has been significantly rewritten resulting in a number of new options. You can see what they are by running:
./install_open_csp.sh --help.
There is one that's worth highlighting here: --automatic.
Actually there's two if you count -–manual, but if omitted, --manual is the default mode.
In manual mode you will be guided through the installation and be given a number of prompts.
In automatic mode, however, it will - where needed - attempt to make the logical choices inferred from context or other parameters, but it will - in any case - not present prompts.
This allows this install script to be used in things like a Dockerfile or a cloud-init script for VPS deployment.
Installation done
Make sure to Install Additional Content to get you started with Open CSP easily.