- Redis
sudo apt install redis-server
- Composer here
- npm
sudo apt install nodejs npm
- laravel-echo-server
npm install -g laravel-echo-server
- predis
- laravel-echo
- socket.io-client ^2.4.0 issue
# SETUP # | |
DOMAIN=example.com | |
PROJECT_REPO="git@github.com:example.com/app.git" | |
AMOUNT_KEEP_RELEASES=5 | |
RELEASE_NAME=$(date +%s--%Y_%m_%d--%H_%M_%S) | |
RELEASES_DIRECTORY=~/$DOMAIN/releases | |
DEPLOYMENT_DIRECTORY=$RELEASES_DIRECTORY/$RELEASE_NAME | |
# stop script on error signal (-e) and undefined variables (-u) |
# Change to the project directory | |
cd $FORGE_SITE_PATH | |
# Turn on maintenance mode | |
php artisan down || true | |
# Pull the latest changes from the git repository | |
# git reset --hard | |
# git clean -df | |
git pull origin $FORGE_SITE_BRANCH |
1. Installing Informix Client SDK for Linux x86_64 | |
1.1 Download Informix Client SDK 3.70 for Linux x86_64 from IBM website, https://www-01.ibm.com/marketing/iwm/tnd/search.jsp?rs=ifxdl | |
1.2 Extract the file, `cd /opt/informix; tar -xvf clientsdk.3.70.FC8DE.LINUX.tar` | |
1.3 Start installation, `./installclientsdk`, install all | |
2. Installing PDO Informix |
sudo ./installclientsdk | |
Password: | |
Preparing to install... | |
Extracting the installation resources from the installer archive... | |
Configuring the installer for this system's environment... | |
Launching installer... | |
Picked up _JAVA_OPTIONS: -Djava.awt.headless=true | |
Preparing CONSOLE Mode Installation... |
<?php | |
namespace App\Abilities; | |
use Illuminate\Support\Str; | |
use ReflectionClass; | |
/** | |
* Note: This is a preview of an upcoming package from Tighten. | |
**/ |
<?php | |
abstract class Template | |
{ | |
public function make() | |
{ | |
return $this | |
->addHotWater() | |
->addSugar() | |
->addPrimaryToppings() |
<?php | |
class Coffee | |
{ | |
public function addCoffee() | |
{ | |
var_dump('Add proper amount of coffee'); | |
return $this; | |
} |
<?php | |
class Tea | |
{ | |
public function addTea() | |
{ | |
var_dump('Add proper amount of tea'); | |
return $this; | |
} |
<?php | |
abstract class AbstractClass | |
{ | |
// Force Extending class to define this method | |
abstract protected function getValue(); | |
public function printOut() | |
{ | |
print $this->getValue() . "\n"; |