
Collections of GraphQL queries and mutations that power your Strapi app!
Explore the docs »
Collections of GraphQL queries and mutations that power your Strapi app!
Explore the docs »
version: '3.1' | |
services: | |
# Ghost | |
ghost: | |
image: ghost:4-alpine | |
restart: always | |
depends_on: | |
- mysql_db | |
ports: |
version: '3.1' | |
services: | |
joomla: | |
image: joomla | |
restart: always | |
depends_on: | |
- joomla_mysql_db | |
links: | |
- joomla_mysql_db:mysql |
def instacheck(name) | |
unless /[a-z0-9._]{,30}/.match(name) | |
return false | |
end | |
if /\.\./.match(name) | |
return false | |
end |
# This script assumes your : | |
# | |
# Apache Document Root = "/var/www/html" | |
# (Ubuntu) Username = "johndoe" | |
# name of existing Code Igniter project = "my-ci-website" | |
# path of your Code Igniter project = "/home/johndoe/my-ci-website" | |
# | |
# How to run this script : copy the whole content of this script then execute "sh run-codeigniter-in-ubuntu.sh" in your root directory. |
# Update OS | |
# '-y' automatically choose 'Yes' on interactive mode (when being asked to whether install/remove a package) | |
# Updates the package lists that need upgrading, as well as new packages that have just come to the repositories | |
#sudo apt update -y | |
# Force update using IPv4 : | |
sudo apt -o Acquire::ForceIPv4=true -y | |
# List all upgradable packages |