So set up a new server with digital ocean , added mariaDB etc , set up .ENV and connected to bitbucket
I get this error on deploy
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postInstall
> php artisan optimize
Generating optimized class loader
Compiling common classes
[InvalidArgumentException]
Database [] not configured.
Im sure its something simple but cant see where its wrong
Did you run php artisan migrate? Even before that, you must post the .env so that the APP_KEY and DB data is there. From the error message, it looks like you included the vendor directory in your repository and that's why composer is generating the first message.