A demo elasticms local setup with docker compose.
Open a terminal and run the following commands:
make start
make status ## wait about a minute until elasticms_demo-web-local-1 is healthy
make init
- Go to the admin: http://local.ems-demo-admin.localhost (login: demo/demo)
- Go to the web/skeleton: http://local.preview-ems-demo-web.localhost
- Traefik : An HTTP reverse proxy
- mailhog : A Mail catcher
- kibana : A dev tools to query elasticsearch
- elasticsearch : The search engine, Verify that the status is
green
- minio : A S3 like storage service
- elasticms admin : elasticms
- admin debug: Useful to develop admin's template
- Test the website:
- Debug issue with varnish:
- preview nocache : skeleton with preview's contents without cache (varnish is bypassed)
- live nocache : skeleton with live's contents without cache (varnish is bypassed)
Run make
for retrieving information about all make targets.
- Create a new user cli
make admin/"emsco:user:create"
- Show all available commands for web and/or admin
make admin/"list" make web/"list"
- Run npm command
make npm/"list" make npm/"install <package_name>"
- The labels are not translated in the skeleton:
clear the cache for the corresponding skeleton i.e.
make cache-clear
- Form submissions are not visible in the elasticms mini-CRM:
Generate a
.env.local
and thisEMSF_AUTHKEY=AUTH_KEY
with a authkey that you can generate in the user datatable view and runmake restart
- I want to use a different ELK stack version
If you want to use elasticsearch 8 instead of elasticsearch 7, define this variable first:
export ELK_VERSION=elk8
Available stacks:
elk7
: elasticsearch 7.17.7elk8
: elasticsearch 8.5.3os2
: OpenSearch 2.4.1
You need docker compose (or an alternative as Podman) on a running Linux system (or WSL if you are under Windows). It should also work with Docker Desktop, tell us if you face issues with it.
It's recommended to allow at least 6GB of memory to docker.
The following ports must be available:
- 8888: Traefik UI
- 80: Web HTTP
- 443: Web HTTPS