The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#!/bin/bash | |
# This script will automatically set up a single node Flynn Cluster on your linux box | |
# Fresh Flynn install with domain provided by the xip.io service | |
# Tested with Base Image: Ubuntu 16.04 x64 @ DigitalOcean droplet | |
# @date 11 May 2017 | |
# Original @author Edu Wass (eduwass at gmail com) | |
echo '---- START SETUP ----' |
#Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.
Run the following commands in sequence.
sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
<?php | |
namespace Deployer; | |
require 'recipe/laravel.php'; | |
$repo_url = ''; | |
$branch = 'master'; | |
$server_url = ''; | |
$user = ''; |
<?php | |
namespace Deployer; | |
require 'recipe/laravel.php'; | |
// Configuration | |
set('ssh_type', 'native'); | |
set('repository', '[REPO URL]'); | |
set('branch', 'master'); | |
set('keep_releases', 5); |
<?php | |
namespace Deployer; | |
require 'recipe/laravel.php'; | |
require 'vendor/deployer/recipes/local.php'; | |
require 'vendor/deployer/recipes/rsync.php'; | |
require 'vendor/deployer/recipes/npm.php'; | |
// Configuration | |
set('ssh_type', 'native'); |