sudo create-k0s-virtual-network-device.sh $(ip route get 8.8.8.8 | awk -- '{printf $5}')
k0s config create >/tmp/k0s.yaml
yq -i \
'.spec.extensions.storage.type = "openebs_local_storage" | .spec.extensions.storage.create_default_storage_class = true' \
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
#!/usr/bin/env bash | |
install_yq() { | |
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq &&\ | |
chmod +x /usr/bin/yq | |
} | |
if [[ ! -f /usr/bin/yq ]] | |
then | |
VERSION=v4https://gist.github.com/khusseini/7ec66d3f7f361674c46952bb0a42c978.18.1 |
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
{ | |
"ROOT":{ | |
"type":{ | |
"resolvedName":"MiroraShop" | |
}, | |
"isCanvas":true, | |
"props":{ | |
}, | |
"displayName":"Mirora Shop", |
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
{ | |
"ROOT": { | |
"type": { | |
"resolvedName": "MiroraShop" | |
}, | |
"isCanvas": true, | |
"props": { | |
}, | |
"displayName": "Canvas", |
If you searched for this article I chances are you know what LKE, Traefik and Let's Encrypt are, else here is a quick primer:
"The Linode Kubernetes Engine (LKE) is a fully-managed container orchestration engine for deploying and managing containerized applications and workloads.". For more information please have a look at "Deploy and manage a cluster with Linode Kubernetes Engine"
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\Form\Extension; | |
use CoreShop\Bundle\OrderBundle\Form\Type\CartItemType; | |
use CoreShop\Component\Core\Model\CartItemInterface; | |
use Pimcore\Model\DataObject\AbstractObject; | |
use Pimcore\Model\DataObject\CoreShopProduct; | |
use Pimcore\Model\DataObject\Objectbrick\Data\AbstractData; | |
use Symfony\Component\Form\AbstractTypeExtension; |
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
Update your hosts file to point to docker container ip | |
MAKEFLAGS += --warn-undefined-variables | |
SHELL := bash | |
.SHELLFLAGS := -eu -o pipefail -c | |
.DELETE_ON_ERROR: | |
.SUFFIXES: | |
##Option: Development domain | |
domain = mysite.development.local | |
container = mysite |
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
[Unit] | |
Description=Provides Docker-Compose | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/bash -c "wget -O /opt/bin/docker-compose https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m`" |
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
app/config | |
├── config_dev.yml | |
├── config_prod.yml | |
├── config_test.yml | |
├── config.yml | |
├── dist | |
├── parameters.php | |
├── parameters_test.yml.dist | |
├── parameters.yml | |
├── parameters.yml.dist |
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
$ git branch -a | |
* develop | |
remotes/infolox/17-404-page-design | |
remotes/infolox/24-flash-messages-integration | |
remotes/infolox/27-wishlist-implementation | |
remotes/infolox/28-admin-panel-showing-fixing2 | |
remotes/infolox/anton-current | |
remotes/infolox/contact-form | |
remotes/infolox/develop | |
remotes/infolox/feature/shop-bundle |
NewerOlder