m (Removed spelling error for "likeg") |
No edit summary |
||
| Line 1: | Line 1: | ||
This projects aims to integrate Open-CSP 2.0 into CanastaWiki. | |||
## Getting started | |||
Clone the project and the Docker Compose companion project | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]])bash | |||
git clone https://github.com/LarsS88/Canasta_OpenCSP.git | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]]) | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]])bash | |||
git clone https://github.com/LarsS88/Canasta-DockerCompose.git | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]]) | |||
--- | |||
Go to the project directory | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]])bash | |||
cd Canasta_OpenCSP | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]]) | |||
--- | |||
Build the image | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]])bash | |||
docker build . -t canasta-opencsp:2.0 | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]]) | |||
--- | |||
Change to the other project folder | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]])bash | |||
cd ../Canasta-DockerCompose | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]]) | |||
--- | |||
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> | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]])bash | |||
docker-compose up -d | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]]) | |||
--- | |||
Install a wiki | |||
`Navigate to https://localhost and follow the installation steps` | |||
--- | |||
Copy the now downloaded LocalSettings.php to the config subdir | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]])bash | |||
cp <browser download folder>/LocalSettings.php config/ | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]]) | |||
--- | |||
Restart the stack | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]])bash | |||
docker-compose down | |||
docker-compose up -d | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]]) | |||
--- | |||
**OPTIONAL:** | |||
Follow the Open-CSP installation progress | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]])bash | |||
docker logs <web container name> --follow | |||
[[User:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|Fd4138e7-8b46-4c8f-99bf-d4b738ebc295]] ([[User talk:Fd4138e7-8b46-4c8f-99bf-d4b738ebc295|talk]]) | |||
<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. 🥳 | |||
Visit your site. | |||
Revision as of 10:58, 25 April 2025
This projects aims to integrate Open-CSP 2.0 into CanastaWiki.
- Getting started
Clone the project and the Docker Compose companion project
Charlot Cobben (talk)bash
git clone https://github.com/LarsS88/Canasta_OpenCSP.git
Charlot Cobben (talk)bash
git clone https://github.com/LarsS88/Canasta-DockerCompose.git
---
Go to the project directory
Charlot Cobben (talk)bash
cd Canasta_OpenCSP
---
Build the image
Charlot Cobben (talk)bash
docker build . -t canasta-opencsp:2.0
---
Change to the other project folder
Charlot Cobben (talk)bash
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.
Charlot Cobben (talk)bash
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
Charlot Cobben (talk)bash
cp <browser download folder>/LocalSettings.php config/
---
Restart the stack
Charlot Cobben (talk)bash
docker-compose down docker-compose up -d
---
- OPTIONAL:**
Follow the Open-CSP installation progress
Charlot Cobben (talk)bash
docker logs <web container name> --follow
Charlot Cobben (talk) 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.