- Clone your project
- Go to the folder application using
cdcommand on your cmd or terminal - Run
composer installon your cmd or terminal - Copy
.env.examplefile to.envon the root folder. You can typecopy .env.example .envif using command prompt Windows orcp .env.example .envif using terminal, Ubuntu - Open your
.envfile and change the database name (DB_DATABASE) to whatever you have, username (DB_USERNAME) and password (DB_PASSWORD) field corresponds to your configuration. - Run
php artisan key:generate - Run
php artisan migrate - Run
php artisan serve - Go to http://localhost:8000/
- set aws key in .env file
- AWS_ACCESS_KEY_ID=123
- AWS_SECRET_ACCESS_KEY=123
- AWS_DEFAULT_REGION=ap-southeast-1
- AWS_BUCKET=ccnn.websiteaddres.doamin
SCOUT_QUEUE_CONNECTION=sync
SCOUT_DRIVER=elastic to SCOUT_DRIVER=null
run these commands
php artisan config:clear
Or
php artisan config:cache
Change in env file .. CACHE_DRIVER=array
Source : https://stackoverflow.com/questions/38602321/cloning-laravel-project-from-github
No comments:
Post a Comment