A base repository of a Laravel app with mysql using nginx on Dokku
|
il y a 6 ans | |
---|---|---|
app | il y a 6 ans | |
bootstrap | il y a 6 ans | |
config | il y a 6 ans | |
database | il y a 6 ans | |
public | il y a 6 ans | |
resources | il y a 6 ans | |
routes | il y a 6 ans | |
storage | il y a 6 ans | |
tests | il y a 6 ans | |
.buildpacks | il y a 6 ans | |
.editorconfig | il y a 6 ans | |
.env.example | il y a 6 ans | |
.gitattributes | il y a 6 ans | |
.gitignore | il y a 6 ans | |
Procfile | il y a 6 ans | |
README.md | il y a 6 ans | |
artisan | il y a 6 ans | |
composer.json | il y a 6 ans | |
composer.lock | il y a 6 ans | |
package.json | il y a 6 ans | |
phpunit.xml | il y a 6 ans | |
server.php | il y a 6 ans | |
webpack.mix.js | il y a 6 ans | |
yarn.lock | il y a 6 ans |
A base repo for a Laravel app with MySql under Nginx on Dokku server.
composer install
artisan serve
APP_KEY
from .env file.dokku apps:create myapp
dokku config:set detective APP_KEY={you_key}
dokku mysql:create myapp_db
dokku mysql:link myapp_db myapp
dokku mysql:info myapp_db --dsn
dokku config:set detective DATABASE_URL={the_url_above}