Skip to content

Instantly share code, notes, and snippets.

View lhilton's full-sized avatar

Lee Hilton lhilton

View GitHub Profile
#!/bin/bash
git clone git@github.com:lhilton/MightyBill-api.git /sites/mightybill-api.test
cd /sites/mightybill-api.test
cp env.local .env
composer install
php artisan migrate
php artisan db:seed
git clone git@github.com:lhilton/MightyBill.git /sites/mightybill.test
cd /sites/mightybill.test

Create the bucket:

aws s3api create-bucket \
    --region us-east-2 \
    --acl private \
    --bucket foo.bar.mar.test \
    --create-bucket-configuration LocationConstraint=us-east-2 \
    --profile configured_aws_profile_or_remove_for_default