-
git clone https://github.com/dockerwest/compose-pimcore.git && cd compose-pimcore
-
./environment
-
run up
-
New shell window and
./environment shell
-
create_db pimcore
This file contains 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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /web; | |
index index.html; | |
location / { | |
try_files $uri $uri/ @rewrites; |
This file contains 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
Math.area = Math.area || function(polygon){ | |
const length = polygon.length; | |
let sum = 0; | |
for(let i = 0; i < length; i += 2){ | |
sum += polygon[i ] * polygon[(i + 3) % length] | |
- polygon[i + 1] * polygon[(i + 2) % length]; | |
} |
This file contains 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\Http\Livewire; | |
use App\Models\Event; | |
use Livewire\Component; | |
use Illuminate\Support\Str; | |
use Illuminate\Support\Carbon; | |
use Illuminate\Support\Facades\Cache; |
This is a detailed runbook for setting up a production server on an Ubuntu 16.04 cloud VPS for automated deployment of static web content to be served by an NGINX web server and Node.js web application behind an NGINX reverse-proxy, both with SSL/TLS (https) support.
The steps are as follows: