Skip to content

luoxiangxu/kuaidi

Repository files navigation

Welcome!

This is my demo laravel project, I can't host this project on web because the platforms do not provide the ssh function on free web hosting version (inorder to install composer, nodejs and other dependencies.)

Please follow the instruction step by step -
(1) please install xampp on your machine, and make sure php version is > 7.3 and < 8.0
(2) please install composer
(3) please install nodejs
(4) please download project zip file
(5) extract zip file to path c/xampp/htdocs
(6) open command box and go to the project path and run command composer install, after that run npm install.
(7) open command box and go to the project path and run command copy .env.example .env
(8) open xampp control panel and run apache service and mysql
(9) open your web broswer and type localhost/phpmyadmin and create one database and name it kuaidi (in this case my database name is kuaidi)
(10) go to the .env file and insert the representative parameters --
at the line no 12 : DB_DATABASE=kuaidi
at the line no 27 : MAIL_USERNAME=smtp.googlemail.com
at the line no 28 : MAIL_HOST=your gmail address
at the line no 29 : MAIL_PORT=456
at the line no 30 : MAIL_PASSWORD=your gmail password
at the line no 31 : MAIL_ENCRYPTION=ssl
at the line no 32 : MAIL_FROM_ADDRESS=your gmail address
(11) open your google account and go to manage your google account and enable less secure app access.
(12) open command box and go to the project path and run command composer require laravel/passport "~9.0", after that run command php artisan migrate
(13) open command box and go to the project path and run command php artisan key:generate, after that run command php artisan cache:clear
(14) open command box and go to the project path and run command php artisan serve, copy the address that project currently running and paste it to the web broswer and then open new command box and go to the project path run command npm run watch.
(15) go to the config/kuaidi.php and you can add administrator to the website

We are ready to go!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published