🍭 Helpers & Tips
🍃 Let's know some helpers & tips.
Makefile
Display helping 👇
shell
make helpmake help👉 Available Makefile script CMD Shortcut:
makeormake helpfor display helping
👉 Initialize:
make init-env: Init env file (cp .env .env.local)make init-repos: Cloning all repositories at first stepmake init-database: Install all database from Old Stack Dumpmake init-composer: Install vendor on apimake init-drone: Init Drone CI Pipeline
👉 Refresh:
make refresh-stack: Refresh (pull) all repositories before runmake refresh-stack-local: Refresh (pull) all repositories for localmake refresh-repo: Refresh one repository / param: r=leaders-www
👉 Action:
make run: Start all containersmake run-build: Build and start all containersmake stop: Stop all docker containers on compose filemake restart: Restart a specific container / param: c=nginx)make rebuild: Rebuild a specific container / param: c=nginx)
👉 Help:
make access: Select to access into a specific containermake logs: Select to show logs of a specific containermake logs follow: Select to logs in live a specific containermake stats: Show stats of all containersmake container-ps: Show detailed information about a specific containermake generate-ssl: Self-Signed SSL Certificate for local development