A base repository of a Laravel app with mysql using nginx on Dokku
|
hace 6 años | |
---|---|---|
app | hace 6 años | |
bootstrap | hace 6 años | |
config | hace 6 años | |
database | hace 6 años | |
public | hace 6 años | |
resources | hace 6 años | |
routes | hace 6 años | |
storage | hace 6 años | |
tests | hace 6 años | |
.buildpacks | hace 6 años | |
.editorconfig | hace 6 años | |
.env.example | hace 6 años | |
.gitattributes | hace 6 años | |
.gitignore | hace 6 años | |
Procfile | hace 6 años | |
README.md | hace 6 años | |
artisan | hace 6 años | |
composer.json | hace 6 años | |
composer.lock | hace 6 años | |
package.json | hace 6 años | |
phpunit.xml | hace 6 años | |
server.php | hace 6 años | |
webpack.mix.js | hace 6 años | |
yarn.lock | hace 6 años |
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}