Laravel Installation
-
Start command prompt window or terminal and change directory to laravel.
cd your-laravel-project
-
Create database with name "handyman-service" in your sqlyog,laragon,xampp,wamp
- Open and edit the /.env file and provide your server details:
APP_URL="https://yourdomain.com"
DB_CONNECTION="mysql"
DB_HOST="127.0.0.1"
DB_PORT="3306"
DB_DATABASE="YOUR DATABASE NAME"
DB_USERNAME="YOUR USERNAME"
DB_PASSWORD="YOUR PASSWORD" -
Run below command in terminal or CMD step by step:
php artisan config:clear
php artisan cache:clear
php artisan route:clear
php artisan view:clear- Once you run the above commands then run this command:
php artisan optimize
-
Below command will create the all tables in the specified database.
php artisan migrate
- After run above command, you can seen like this in terminal.
-
You'll be asked one question: Would you like to create it? If you say yes, All database tables will continue to install.
NoteYou need to add manually two tables for add language feature in your database after migration which we already given with name language_settings.sql and language_statuses.sql
-
To run project
php artisan serve
-
Below are the credentials for both admin and provider login.
Admin
admin@gmail.com
123456Provider
provider@gmail.com
123456
TIP
After all this, you have to just hit your URL in the browser and go on.