The Amplify Command Line Interface (CLI) is a unified toolchain to create, integrate, and manage the AWS cloud services for your app.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt install php8.0-common php8.0-cli -y | |
sudo apt install php8.0-{bz2,curl,intl,mysql,readline,xml} | |
sudo apt install php8.0-pcov # PCOV code coverage tool | |
sudo apt install php8.0-xdebug # Xdebug debugger | |
# for nginx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var deployBucket = 'example.com'; | |
var region = 'us-west-2'; | |
// If you're hosting a static html (or javascript) website | |
// the domain and bucket you host from (deploy to) should be | |
// identical, but feel free to change based on your circumstances. | |
var domain = deployBucket; | |
var aws = require('aws-sdk'); | |
var ep = new aws.Endpoint('s3.' + region + '.amazonaws.com'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
red=`tput setaf 1` | |
green=`tput setaf 2` | |
reset=`tput sgr0` | |
# Install/verify Xcode Command Line Tools are setup | |
if xcode-select --version 2>&1 | grep version; then | |
echo "${green}Yay, you have installed XCode with Command Line Tools" | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:ft=ansible: | |
# | |
--- | |
- name: install common software | |
apt: | |
name={{ item }} | |
state=present | |
with_items: | |
- apache2 | |
- git |