Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Latest commit

 

History

History
60 lines (41 loc) · 1.06 KB

README.md

File metadata and controls

60 lines (41 loc) · 1.06 KB

Quick install

Requirements

  • Docker (for local environment, otherwise LAMPP Stack)
  • Composer
  • NodeJS
  • PHP >= 8.0

See Laravel Sail requirements for more information

Get sources

$ git clone https://github.com/kingschnulli/diel
$ cd diel
$ composer install
$ npm install
$ cp .env.example .env
$ npm run prod

Modify .env file to your liking,

Set ENV=prod for production environment.

Setup production environment

$ php artisan migrate:fresh
$ php artisan db:seed --class=ProductionDatabaseSeeder
$ php artisan key:generate

Default Admin User

Username: [email protected]
Password: password

Change password for production environment.

Running locally with docker (sail)

$ vendor/bin/sail up -d
$ vendor/bin/sail artisan key:generate
$ vendor/bin/sail artisan migrate:fresh --seed

You should be able to navigate to http://localhost then, login as following from seeds:

Enduser:

Username: [email protected]
Password: password

Admin

Username: [email protected]
Password: password