Home > Blockchain >  DigitOcean - laravel 8 deployment through Github (error 500)
DigitOcean - laravel 8 deployment through Github (error 500)

Time:03-16

I deployed the laravel app to digitalocean: but I don't understand why is it showing error 500??

enter image description here

I connected a github repo to deploy it to digitalocean.

1- I set the build commands to: composer install
2- environment variables are set: APP_NAME, APP_URL, APP_KEY, DATABASE_URL, APP_DEBUG

This is how the repo looks (private) enter image description here

What seems to be the issue??

CodePudding user response:

I just did check the repo and it seems the vendors folder not there and your build steps look like a typo issue so please run below command

composer install

Still you face the issue then refer the laravel logs for that what went wrong

CodePudding user response:

you also dont have a .env file

maybe copy the .env.example to .env

perhaps follow the instructions on the laravel site for the version you are using.

in your question, you have spelt 'install' incorrectly

  • Related