Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more documentation #2

Open
agelospanagiotakis opened this issue Oct 16, 2024 · 5 comments
Open

more documentation #2

agelospanagiotakis opened this issue Oct 16, 2024 · 5 comments

Comments

@agelospanagiotakis
Copy link

agelospanagiotakis commented Oct 16, 2024

i have a .env file in /var/www/html/
however when i execute

 php artisan key:generate

i get

  file_get_contents(/var/www/html/.env): Failed to open stream: No such file or directory

any clues to why this happens ?

more documentation is needed on how to start working on this

Startup notes:

cp .env.example .env
vi .env
channge
DB_HOST=lara11-dev-mysql-1
DB_HOST=laravel-11-frankenphp-docker_mysql_1

docker compose exec -it web sh

php artisan key:generate
php artisan config:cache

php artisan migrate

@razorext2
Copy link

idk why .env is listed on .dockerignore

@jaygaha
Copy link
Owner

jaygaha commented Dec 19, 2024

@agelospanagiotakis Apologies for the late reply. We understand the importance of timely responses and appreciate your patience. Does this solve issue has been solved? Otherwise need to reproduce the issue to check it

@razorext2 We need to add it as it is crucial for security and best practice to manage environment specific configuration.

🙇

@razorext2
Copy link

@jaygaha can you make more documentation for this? i was new on docker, and when i try this template, it doesnt work. idk what happens

@jaygaha
Copy link
Owner

jaygaha commented Dec 19, 2024

@jaygaha can you make more documentation for this? i was new on docker, and when i try this template, it doesnt work. idk what happens

@razorext2 The current basic documentation doesn't help you? What specific document you want? We will try to add more details and information.

@razorext2
Copy link

@jaygaha can you make more documentation for this? i was new on docker, and when i try this template, it doesnt work. idk what happens

@razorext2 The current basic documentation doesn't help you? What specific document you want? We will try to add more details and information.

@jaygaha no its not. im tryn to use this template on my existing project, and still tryn now. ill share the result later!

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

No branches or pull requests

3 participants