Skip to content

danheng241010/ges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup the project

  • Update nginx and phpmyadmin ports in the /.env.exmaple file (optional, to avoid conflict ports)
  • Run the command "make run-app-with-setup-db", if you got the error try to run the command "make run-app-with-setup" first
  • Read /Makefile to know more commands or use plain docker compose commands by your choice

Some useful commands for docker, docker compose, artisan

Format: docker compose exec [service_name] [command_inside_container]

  • docker compose exec php composer --version
  • docker compose exec php composer require [package_name]
  • docker compose exec php php artisan migrate:fresh --seed
  • docker compose exec mysql mysql --version
  • docker compose exec mysql /bin/sh
  • docker compose exec nginx nginx -v
  • docker compose exec nginx /bin/sh
  • docker compose ps (List of current running containers)
  • docker logs [container_id]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published