Here's a way to get around DEP that doesn't require blocking network hosts
## these commands MUST be from Terminal in Recovery mode only (as root of course)
## this assumes the boot drive is named "Macintosh HD" and is a newer OS that has a Data volume
## you may need to open Disk Utility to mount the Data volume then open Terminal
#clear the nvram if there is any saved WiFi info there
nvram -c
  
    
      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
    
  
  
    
  | <?php | |
| namespace App\Console\Commands\Examples; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Facades\Storage; | |
| use Illuminate\Support\Str; | |
| /* | |
| # Example env variables | 
  
    
      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
    
  
  
    
  | { | |
| "window.zoomLevel": 1, | |
| "explorer.confirmDelete": false, | |
| "[javascriptreact]": { | |
| "editor.tabSize": 2, | |
| "editor.insertSpaces": true, | |
| "editor.autoIndent": true, | |
| }, | |
| "[vue]": { | |
| "editor.tabSize": 2, | 
Deployment summary, all commands are tested in debian 8.1 x64. The new user to be created will be deploy under the host yourhost-here.
Access the root user's shell. Note that the adduser command will prompt for a password, enter a new password and remember it.
apt-get install sudo -y
adduser deploy
gpasswd -a deploy sudo
#!/bin/sh
PATH=$PATH:$HOME/.local/bin:$HOME/bin:$HOME/opt/node-v4.5.0-linux-x64/bin
mkdir -p $HOME/opt/sc-nov2016
git --work-tree=$HOME/opt/sc-nov2016 --git-dir=$HOME/sc-nov2016.git checkout -f
npm i --prefix $HOME/opt/sc-nov2016 --production
npm --prefix $HOME/opt/sc-nov2016 run-script build
pm2 stop sc-nov2016
NewerOlder
        
