For Homebrew v2.6.x and below:
brew cask install ngrok
For Homebrew v2.7.x and above:
echo "Creating an SSH key for you..." | |
ssh-keygen -t rsa | |
echo "Please add this public key to Github \n" | |
echo "https://github.com/account/ssh \n" | |
read -p "Press [Enter] key after this..." | |
echo "Installing xcode-stuff" | |
xcode-select --install |
# The following script will deploy a Laravel 5 applicaion on AWS Elastic Beanstalk. | |
# Add to .ebextensions at the root of your application and name your commands file (e.g., commands.config) | |
# -------------------------------- Commands ------------------------------------ | |
# Use "commands" key to execute commands on the EC2 instance. The commands are | |
# processed in alphabetical order by name, and they run before the application | |
# and web server are set up and the application version file is extracted. | |
# ------------------------------------------------------------------------------ | |
commands: | |
01updateComposer: |
commands: | |
01_add_blackfire_repo: | |
command: "sudo yum install -y pygpgme && wget -O - 'http://packages.blackfire.io/fedora/blackfire.repo' | sudo tee /etc/yum.repos.d/blackfire.repo" |
This gist may help you to install supervisor Manually on AWS Beanstalk host. I was enable to install and configure referring supervisor docs. Here are the steps by which I was able to use supervisor on my project.
Note: I have performed this steps on Laravel project and my instance was Debian powered. You can change according to your requirement.
$ easy_install supervisor
mkdir /etc/supervisor/conf.d/
touch /etc/supervisor/conf.d/laravel-worker.conf
# imports | |
import boto3 | |
import json | |
# constants | |
# note that the access key should be of a user who has write access to the bucket named here | |
BUCKET_NAME = '<>' | |
AWS_ACCESS_KEY_ID = '<>' | |
AWS_SECRET_ACCESS_KEY = '<>' |