- Clone your project
- Go to the folder application using
cd
command on your cmd or terminal - Run
composer install
on your cmd or terminal - Copy
.env.example
file to.env
on the root folder. You can typecopy .env.example .env
if using command prompt Windows orcp .env.example .env
if using terminal, Ubuntu - Open your
.env
file 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