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
version: "3" | |
services: | |
app: | |
image: jc21/nginx-proxy-manager:2 | |
restart: always | |
ports: | |
# Public HTTP Port: | |
- '80:80' | |
# Public HTTPS Port: | |
- '443:443' |
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
{ | |
"database": { | |
"engine": "knex-native", | |
"knex": { | |
"client": "sqlite3", | |
"connection": { | |
"filename": "/data/database.sqlite" | |
} | |
} | |
} |
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
sudo apt install openssl php-common php-curl php-json php-mbstring php-mysql php-xml php-zip -y | |
sudo apt install composer -y | |
composer global require laravel/installer | |
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
targetBranch=master | |
# Remove the .git config folder. | |
rm -rf .git/ | |
# Re-init the Git repo and add repository | |
git init | |
git remote add origin git@github.com:JamaicanDevelopers/GitTraining.git | |
git fetch origin | |
# Create a new branch with untracked files and then add it. |
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
version: '3.3' | |
services: | |
test: | |
network_mode: host | |
image: registry.gitlab.com/genesysjm/sms-robot-test | |
shm_size: "256M" | |
environment: | |
USERNAME: Oshane Bailey |
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
sudo apt-get install -y php-dom | |
sudo apt-get install -y php-mbstring | |
sudo apt-get install -y php-gd |
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
#!/bin/bash | |
sudo apt-get remove docker-compose -y | |
sudo rm -f /usr/local/bin/docker-compose | |
sudo rm -f /usr/bin/docker-compose | |
pip uninstall docker-compose | |
sudo apt-get install -y jq | |
VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r) | |
DESTINATION=/usr/bin/docker-compose |
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
version: '3.7' | |
services: | |
# App service | |
app: | |
build: . | |
restart: always | |
container_name: app | |
volumes: |
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
version: '3.7' | |
services: | |
# App service | |
app: | |
build: . | |
restart: always | |
container_name: app | |
volumes: |
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
from kotti.resources import Content | |
from sqlalchemy.orm import aliased | |
parent_table = aliased(Content) | |
# Perform a self join with a where query, which adds the | |
# following line:: | |
# left join contents as n on contents.id = n.id |