Composer
PHP >= 7.2.5
MySQL
- Clone the repository with
https://github.com/mangya/sda.git <your_project_folder_name>
- Change directory to your project folder
cd <your_project_folder_name>
- Install the dependencies with
composer install
- Create database in MySQL.
- Update the your database name and credentials in the
.env
file. - Set permissions for the folders in (Optional only for Linux)
sudo chown -R :www-data bootstrap/cache
sudo chmod -R ug+rwx bootstrap/cache
sudo chown -R :www-data storage/framework
sudo chmod -R ug+rwx storage/framework
sudo chown -R :www-data storage/logs
sudo chmod -R ug+rwx storage/logs
- Create database tables and sample data with
php artisan migrate:refresh --seed
- Run the application with
php artisan serve
(MySQL service should be up and running). - Access
http://localhost:8000
and you're ready to go!
Administrator
Login URL: http://localhost:8081/admin
Login ID: mangesh
Password: vsmsda@111