Skip to content

🍭 Helpers & Tips

🍃 Let's know some helpers & tips.

Makefile

Display helping 👇

shell
make help
make help

👉 Available Makefile script CMD Shortcut:

  • make or make help for display helping

👉 Initialize:

  • make init-env : Init env file (cp .env .env.local)
  • make init-repos: Cloning all repositories at first step
  • make init-database: Install all database from Old Stack Dump
  • make init-composer : Install vendor on api
  • make init-drone : Init Drone CI Pipeline

👉 Refresh:

  • make refresh-stack : Refresh (pull) all repositories before run
  • make refresh-stack-local : Refresh (pull) all repositories for local
  • make refresh-repo : Refresh one repository / param: r=leaders-www

👉 Action:

  • make run : Start all containers
  • make run-build : Build and start all containers
  • make stop : Stop all docker containers on compose file
  • make 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 container
  • make logs : Select to show logs of a specific container
  • make logs follow : Select to logs in live a specific container
  • make stats : Show stats of all containers
  • make container-ps : Show detailed information about a specific container
  • make generate-ssl: Self-Signed SSL Certificate for local development

Released under the MIT License.