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
| if (( "$#" != 1 )) | |
| then | |
| echo Host is required! | |
| exit | |
| fi | |
| PROJECT_NAME=${PWD##*/} | |
| mkdir -p dump |
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
| version: '3.4' | |
| services: | |
| app: | |
| image: 'formapro/nginx-php-fpm:latest-all-exts' | |
| working_dir: '/app' | |
| volumes: | |
| - './:/app:cached' | |
| env_file: '.env' | |
| networks: |
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
| [entryPoints] | |
| [entryPoints.http] | |
| address = ":80" | |
| [entryPoints.https] | |
| address = ":443" | |
| [entryPoints.https.tls] | |
| [acme] | |
| email = "[email protected]" |
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
| version: '3.1' | |
| services: | |
| registry: | |
| restart: always | |
| image: registry:2 | |
| volumes: | |
| - registry:/var/lib/registry | |
| environment: | |
| - REGISTRY_HTTP_ADDR=0.0.0.0:5000 |
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 Ecom\Price\Model; | |
| use Makasim\Values\ValuesTrait; | |
| class Price | |
| { | |
| use ValuesTrait; | |
| /** |
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
| { | |
| "process": { | |
| "schema": "http:\/\/pvm.forma-pro.com\/schemas\/Process.json", | |
| "id": "749d7410-e1b0-4f27-aa35-97d09018754e", | |
| "companyId": "12356692-eaac-4893-8e5d-9c2059fb4689", | |
| "campaignId": "3569b06f-2210-48f4-853d-9a0d35c08182", | |
| "nodes": { | |
| "ad2fcc3c-ee83-40cc-9d76-cdb21d573098": { | |
| "schema": "http:\/\/pvm.forma-pro.com\/schemas\/Node.json", | |
| "id": "ad2fcc3c-ee83-40cc-9d76-cdb21d573098", |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> | |
| <title>PVM UI</title> | |
| </head> |
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
| FROM nginx:1.15 | |
| WORKDIR /var/www | |
| COPY /nginx.conf /etc/nginx/conf.d/app.conf | |
| ADD ./public /var/www | |
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
| #!/usr/bin/env bash | |
| set -x | |
| set -e | |
| if [[ -z "$DOTOKEN" ]]; then | |
| # get it from https://cloud.digitalocean.com/settings/security | |
| echo "Must provide DOTOKEN in environment" 1>&2 | |
| exit 1 | |
| fi |
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 | |
| use Symfony\Component\DependencyInjection\ContainerInterface; | |
| use App\Model\Order; | |
| use function Makasim\Yadm\get_object_id; | |
| use function Makasim\Values\get_values; | |
| /** @var ContainerInterface $container */ | |
| $storage = $container->get('yadm')->getStorage(Order::class); |