...
Copy the docker-compose-template folder to your own projects folder:
Assuming you cloned the repository in~/git-repositories/wedia-docker-template
and you store your projects in~/projects
, and you want to start projectprojectWedia
Code Block language bash cd ~ cp -R ./git-repositories/wedia-docker-template ./my-projects/projectWedia
Delete content of folders
san
,db
andadmin
:Code Block language bash cd ~/my-projects/projectWedia rm -rf ./san/* rm -rf ./admin/* rm -rf ./db/*
For M1 (arm) platform compatibility
In the ~/my-projects/projectWedia/docker-compose.yml
, replace the mysql image (image: mysql:8.0.26
) by image: mysql/mysql-server
.
Start the whole docker environment (assuming ports 8080, 8000, 8888, are not used)
Code Block language bash docker compose up
At this point, your server is started, you can start configuring it manually.
Init environment using predefined script
In order to ease the basic configuration of the platform, we provide a JS project: https://bitbucket.org/wediaproduct/wedia_auto_installer/src/master/. Clone this repository, then:
First time, init the projectCode Block language bash npm i
Then you can finalize an environment configuration by running:
Code Block language bash npm run config
...
Starter kit data model : Assets Structure
Steps for extending the starter-kit data model : Extending the starter-kit data model
2. UI Design : configure colors, logos, notification emails…
...
Make sure you have a correct understanding of Starter kit role types and role management interface by reading the associated documentation : Introduction to role Role management interface
Init the roles → Introduction to role management interface | 6. Init of roles
...