- Clone the repository on your local storage
git clone https://github.com/Kenshia/WebProgLabProj
or use GitHub Desktop
- Change terminal path to the repository directory
cd <Directory_name>
- Install dependencies by using composer
composer install
- Create a new environment variables by copying from the example
cp .env.example .env
- Create a new database named
barbatos_shopor use any existing database in your database software. - Open .env file and config the database variables. Default configuration is shown below:
DB_DATABASE=barbatos_shop
DB_USERNAME=root
DB_PASSWORD=
- Generate encryption key
php artisan key:generate
- Migrating and seeding initial data
php artisan migrate --seed
- Linking local storage
php artisan storage:link
- Run the application
php artisan serve