-
First we need to install an Apache Server with PHP, Composer and NPM. For example Laragon
-
Clone the repository into the /www/ directory of Laragon and navigate to it
-
The
.env.example
file needs to be copied to.env
-
In
.env
change the following entries:
- DB_CONNECTION=mysql -> DB_CONNECTION=sqlite
- DB_DATABASE=homestead -> DB_DATABASEX=homestead
- In
.env
add an Admin account by filling out the following lines: (The e-mail address doesn't have to be real, but it has to be valid format)
- ADMIN_USER_NAME=
- ADMIN_USER_MAIL=
- ADMIN_USER_PASS=
-
Create the sqlite file /database/database.sqlite (Just use touch or create an empty text file)
-
In laragon/bin/php/php-x.x.x/php.ini at around line 906 you need to enable the following extensions:
- extension=imap
- extension=pdo_sqlite
-
Composer Update & Install
$composer update
$composer install
-
Generate Key
$php artisan key:generate
-
Generate Sqlite Database
$php artisan migrate
-
Create Admin Account
$php artisan admin:create
-
Installieren NPM Packets
$npm i