No edit summary |
m (Text replacement - "{{Doc properties" to "{{Csp class properties") |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 2: | Line 2: | ||
This projects aims to integrate Open-CSP 2.0 into CanastaWiki. | This projects aims to integrate Open-CSP 2.0 into CanastaWiki. | ||
== Getting started == | |||
Clone the project and the Docker Compose companion project | === Clone the project and the Docker Compose companion project === | ||
<syntaxhighlight lang="bash"> | |||
git clone https://github.com/LarsS88/Canasta_OpenCSP.git | git clone https://github.com/LarsS88/Canasta_OpenCSP.git | ||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
git clone https://github.com/LarsS88/Canasta-DockerCompose.git | git clone https://github.com/LarsS88/Canasta-DockerCompose.git | ||
</syntaxhighlight> | |||
Go to the project directory | === Go to the project directory === | ||
<syntaxhighlight lang="bash"> | |||
cd Canasta_OpenCSP | cd Canasta_OpenCSP | ||
</syntaxhighlight> | |||
Build the image | === Build the image === | ||
<syntaxhighlight lang="bash"> | |||
docker build . -t canasta-opencsp:2.0 | docker build . -t canasta-opencsp:2.0 | ||
</syntaxhighlight> | |||
Change to the other project folder | === Change to the other project folder === | ||
<syntaxhighlight lang="bash"> | |||
cd ../Canasta-DockerCompose | cd ../Canasta-DockerCompose | ||
</syntaxhighlight> | |||
Start the Canasta stack | === Start the Canasta stack === | ||
<mark>NOTE: If, in the build step, you tagged the image differently from how I specified it above, you will need to alter this docker-compose.override.yml file as well at before you try to spin up Canasta.</mark> | <mark>NOTE: If, in the build step, you tagged the image differently from how I specified it above, you will need to alter this docker-compose.override.yml file as well at before you try to spin up Canasta.</mark> | ||
<syntaxhighlight lang="bash"> | |||
docker-compose up -d | docker-compose up -d | ||
</syntaxhighlight> | |||
Install a wiki | === Install a wiki === | ||
Navigate to https://localhost and follow the installation steps | |||
Copy the now downloaded LocalSettings.php to the config subdir | Copy the now downloaded LocalSettings.php to the config subdir | ||
<syntaxhighlight lang="bash"> | |||
cp <browser download folder>/LocalSettings.php config/ | cp <browser download folder>/LocalSettings.php config/ | ||
</syntaxhighlight> | |||
Restart the stack | === Restart the stack === | ||
<syntaxhighlight lang="bash"> | |||
docker-compose down | docker-compose down | ||
docker-compose up -d | docker-compose up -d | ||
</syntaxhighlight> | |||
== OPTIONAL: == | |||
Follow the Open-CSP installation progress | Follow the Open-CSP installation progress | ||
<syntaxhighlight lang="bash"> | |||
docker logs <web container name> --follow | docker logs <web container name> --follow | ||
</syntaxhighlight> | |||
<mark>If you're just running the one Canasta instance it'll be canasta-dockercompose_web_1. Otherwise you can use 'docker ps' to find it.</mark> | <mark>If you're just running the one Canasta instance it'll be canasta-dockercompose_web_1. Otherwise you can use 'docker ps' to find it.</mark> | ||
You're done. 🥳 | You're done. 🥳 | ||
Visit your site. | Visit your site. | ||
| ws-class-props | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{{ | {{Csp class properties | ||
|Doc synopsis=How to install Open CSP on Canasta | |Doc synopsis=How to install Open CSP on Canasta | ||
|Doc subject=DevOps:Doc/Open CSP | |Doc subject=DevOps:Doc/Open CSP | ||
| ws-seo | |||
| Line 1: | Line 1: | ||
{{SEO | |||
|Title=Open CSP on Canasta | |||
|Description=This projects aims to integrate Open-CSP 2.0 into CanastaWiki. | |||
|Section=open-csp | |||
|Published time=2025-04-24 | |||
}} | |||
Latest revision as of 10:00, 15 July 2025
This projects aims to integrate Open-CSP 2.0 into CanastaWiki.
Getting started
Clone the project and the Docker Compose companion project
git clone https://github.com/LarsS88/Canasta_OpenCSP.git
git clone https://github.com/LarsS88/Canasta-DockerCompose.git
Go to the project directory
cd Canasta_OpenCSP
Build the image
docker build . -t canasta-opencsp:2.0
Change to the other project folder
cd ../Canasta-DockerCompose
Start the Canasta stack
NOTE: If, in the build step, you tagged the image differently from how I specified it above, you will need to alter this docker-compose.override.yml file as well at before you try to spin up Canasta.
docker-compose up -d
Install a wiki
Navigate to https://localhost and follow the installation steps
Copy the now downloaded LocalSettings.php to the config subdir
cp <browser download folder>/LocalSettings.php config/
Restart the stack
docker-compose down
docker-compose up -d
OPTIONAL:
Follow the Open-CSP installation progress
docker logs <web container name> --follow
If you're just running the one Canasta instance it'll be canasta-dockercompose_web_1. Otherwise you can use 'docker ps' to find it.
You're done. 🥳 Visit your site.