Demo application in the scope of this tutorial: https://mydnic.be/post/how-to-build-an-efficient-and-seo-friendly-multilingual-architecture-for-your-laravel-application
Installation
- Git Clone this repo
- Run
composer install
- Create your
.env
file at root and insert the following lines
APP_ENV=local
APP_DEBUG=true
APP_KEY=
DB_HOST=localhost
DB_DATABASE=laralang
DB_USERNAME=homestead
DB_PASSWORD=secret
- Run
php artisan key:generate
- Edit Database infos in
.env
file - Create the specified database and run
php artisan migrate
- Insert Dummy Posts with
php artisan posts:dummy
- Run
php artisan serv
or use Homestead to access your live dev environment