Skip to content

Instantly share code, notes, and snippets.

@inluxc
inluxc / bash
Created March 11, 2021 23:08
Server Setup
#!/bin/bash
echo "Creating Directory Structure"
echo "Install Traefik"
mkdir -p $HOME/containers/traefik
docker run -d -p 8080:8080 -p 80:80 -v $HOME/containers/traefik/traefik.toml:/etc/traefik/traefik.toml traefik:v2.4
echo "Install Portainer"
mkdir -p $HOME/containers/portainer
cd <your Magento install dir>
find . -type f -exec chmod 644 {} \; // 644 permission for files
find . -type d -exec chmod 755 {} \; // 755 permission for directory
find ./var -type d -exec chmod 777 {} \; // 777 permission for var folder
find ./pub/media -type d -exec chmod 777 {} \;
find ./pub/static -type d -exec chmod 777 {} \;
chmod 777 ./app/etc
chmod 644 ./app/etc/*.xml
chown -R :<web server group> .
chmod u+x bin/magento
{
"cluster": "selenoid-1",
"containerDefinitions": [
{
"name": "selenoid",
"essential": true,
"cpu": 128,
"memory": 256,

Keybase proof

I hereby claim:

  • I am inluxc on github.
  • I am fcarvalhido (https://keybase.io/fcarvalhido) on keybase.
  • I have a public key ASBjevSQJrbmIW_RICaKwX6olq16wYQnVG8ag2mEGS3E0wo

To claim this, I am signing this object:

Blockchain
nav-bar.js
--------------------------------------------------------------------------------------
import {bindable} from 'aurelia-framework';
export class NavBar {
@bindable router = null;
constructor(){
console.log('Constructor');
this.App = System.App;