Development on AnzuSystems Admin-DAM by Petit Press a.s. (www.sme.sk)
Simple guide on how to develop on the project, run dev server, etc.
Start Core-DAM docker containers if not started yet - needed for backend API communication.
See the official Core-DAM Development documentation on how to start Core-DAM containers.
Start Notification-Server docker container if not started yet - needed for websockets.
See the official Notification-Server Development documentation on how to start Notification-Server containers.
git clone https://github.com/anzusystems/admin-dam.git
Start project docker containers:
bin/docker-compose up --build -d
Arguments:
--build- Build all images to run fresh docker containers-d- Run docker containers in the detached mode as background processes
bin/build
Open http://admin-dam.anzusystems.localhost in your browser.
Scripts available in the project.
Script used to run bash in the application docker container.
bin/bash
Execute bin/bash -h for all bash containers and options.
Script used to run build in the application docker container.
bin/build
Wrapper script used to run docker-compose:
bin/docker-compose
Options:
- see the official docker-compose docu for all options
Script will:
- setup correct permissions for the user if needed (sync UID and GID in docker container with host user, etc.)
- run
docker-composecommand
Script used to run node dev server in the application docker container:
bin/dev
Execute bin/dev -h for all command arguments.
Script used to run the linter check inside the application docker container:
bin/lint
Script used to run the security check inside the application docker container:
bin/security