Skip to content

Conversation

yeetaryan
Copy link

Summary

This PR introduces a docker-entrypoint.sh script and updates the Dockerfile and docker-compose.yml to fully automate the Laravel setup process when running:

@yeetaryan
Copy link
Author

What it automates:

  • Composer install
  • NPM install
  • Laravel key generation
  • Migrations
  • Seeding
  • Storage link

Motivation

Resolves: #140
This removes all post-setup manual steps and allows a smoother onboarding for contributors.

@oitcode
Copy link
Owner

oitcode commented Jul 3, 2025

@yeetaryan

Thanks for your pull request. However, there seems to be few questions. It seems docker-compose.yml file has been changed and sections related to db and below has been deleted. Wont this cause issues as db part is also required ?

@yeetaryan
Copy link
Author

@oitcode Sir I have fixed it can you check it once

@yeetaryan yeetaryan closed this Jul 3, 2025
@yeetaryan yeetaryan deleted the automate-docker-setup branch July 3, 2025 09:09
@yeetaryan yeetaryan restored the automate-docker-setup branch July 3, 2025 09:10
@yeetaryan yeetaryan reopened this Jul 3, 2025
@oitcode
Copy link
Owner

oitcode commented Jul 4, 2025

Have you checked that the changes you have made works in your system?

Because there seems to be some issues still. Will try to improve the changes you have already made and try to make this work. May take some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants