Clone repo
git clone https://github.com/My-Quran-Tajwid/baca.git --recursive
If you git cloned without the --recursive
flag, run this command to get the submodules:
git submodule update --init
Tip
To update the submodules next time, run this command:
git submodule update --remote
Open the cloned folder and create an .env
file
cp .env.example .env
Setup project:
composer install
npm install
php artisan key:generate
Fill in the Database connection information in the .env
file. Easiest way to get started is using sqlite. Example:
DB_CONNECTION=sqlite
DB_DATABASE=D:\Development\baca\database\app.sqlite
Tip
Need help to setup MySQL database? Check out my article on how to setup MySQL server on a docker: https://iqfareez.com/blog/setup-docker-mysql-phpmyadmin
Migrate & Seed Database
php artisan migrate
php artisan db:seed
Run the development server
composer run dev
Open your application at http://127.0.0.1:8000