- WSL
- Docker or equivalent container runtime
- Docker Compose
- Git
- Node 22
curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install -y nodejs
- pnpm
curl -fsSL https://get.pnpm.io/install.sh | sh -
-
Clone the repository in WSL
git clone https://github.com/xprtz/cms.git
-
Build the Docker images
docker compose build
-
Create the .env file from the sample file
cp .env.sample .env
-
Modify some values in the .env file
ADMINPASSWORD
: The password of the admin user, should not contain hashes. The default value in the sample contains a hash, so it will not work.STRAPIPASSWORD
: The password of the strapi user, should not contain hashes.AZURE_ENDPOINT
: The endpoint of the Azure Communication Services. Go to the Azure portal and get the key there or ask Maarten.
-
Start the containers
docker compose up
-
In another terminal, install dependencies and start the application
pnpm install pnpm develop
-
Open the Strapi admin panel in your browser
http://localhost:1337/admin