You will need PHP, Composer and Node.js. For MacOS I recommend installing them with Homebrew. For Windows see instructions for PHP, Composer and Node.
-
Clone this repo
-
Install Composer packages
composer install
-
Install NPM packages
npm install
-
Rename .env.example file to .env
-
Open .env file and change the MAIL Provider SMTP Details. You can use MailTrap to generate basic SMTP Details and test your email feature.
MAIL_MAILER=smtp MAIL_HOST=mailhog MAIL_PORT=1025 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null
-
Create a database and configure the follow in
.env
. Enter the path to your database fileDB_CONNECTION= DB_HOST= DB_PORT= DB_DATABASE=<full path to the file> DB_USERNAME=root DB_PASSWORD=
-
Initialise the database
php artisan migrate
-
Generate app key
php artisan key:generate
-
Compile the webpages and run it
npm run dev php artisan serve