Add Facebook OAuth credentials and configure APP_URL in workflow
All checks were successful
Setup EC2 Tools / setup-server (push) Successful in 1m19s
All checks were successful
Setup EC2 Tools / setup-server (push) Successful in 1m19s
This commit is contained in:
parent
bc3e8c3534
commit
8dca777f60
1 changed files with 7 additions and 1 deletions
|
|
@ -91,12 +91,18 @@ jobs:
|
|||
php artisan key:generate --force
|
||||
fi
|
||||
|
||||
# Configure Database connection
|
||||
# Configure APP_URL and Database connection
|
||||
sed -i 's|^APP_URL=.*|APP_URL=http://socialmedia.tradhox.com|g' .env
|
||||
sed -i 's/^DB_HOST=.*/DB_HOST=16.113.106.152/g' .env
|
||||
sed -i 's/^DB_DATABASE=.*/DB_DATABASE=trypost/g' .env
|
||||
sed -i 's/^DB_USERNAME=.*/DB_USERNAME=vignesh/g' .env
|
||||
sed -i 's/^DB_PASSWORD=.*/DB_PASSWORD=vtechnosoft@123A/g' .env
|
||||
|
||||
# Configure Facebook OAuth
|
||||
sed -i 's|^FACEBOOK_CLIENT_ID=.*|FACEBOOK_CLIENT_ID=2105308916859392|g' .env
|
||||
sed -i 's|^FACEBOOK_CLIENT_SECRET=.*|FACEBOOK_CLIENT_SECRET=79b51ed72514663f3629aa33610490f9|g' .env
|
||||
sed -i 's|^FACEBOOK_CLIENT_REDIRECT=.*|FACEBOOK_CLIENT_REDIRECT=\"http://socialmedia.tradhox.com/accounts/facebook/callback\"|g' .env
|
||||
|
||||
# Ensure web server owns the files after composer finishes writing caches
|
||||
sudo chown -R www-data:www-data storage bootstrap/cache
|
||||
sudo chmod -R 777 storage bootstrap/cache
|
||||
|
|
|
|||
Loading…
Reference in a new issue