- Click the
rawbutton to get the raw-url of thefig-play-with-k8s.sh-file and, in a VM from labs.play-with-k8s.com, - Run
bash -x <( curl -L url-to-raw-gist ) - Copy the "blue-port-url" and change
httptohttps - Goto url in Firefox
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" | |
| x-environment: &default-environment | |
| DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres | |
| SECRET_KEY: your-secret-here | |
| PORT: 8000 | |
| GLITCHTIP_DOMAIN: https://glitchtip.yourcompany.com | |
| EMAIL_URL: smtp+tls://smtp-user:[email protected]:587 | |
| DEFAULT_FROM_EMAIL: [email protected] | |
| ENABLE_OPEN_USER_REGISTRATION: "True" | |
| x-depends_on: &default-depends_on |
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
| #!/bin/sh | |
| help_display() { | |
| echo "" | |
| echo "====================================================================================" | |
| echo " MWBACKUP is a bash script that helps you to create and rotate backups of Mediawiki site." | |
| echo " It will create backup of files and database and place it into specified directory" | |
| echo " under a folder named after as a timestamp in yyyy-mm-dd format." | |
| echo " Example usage:" | |
| echo " ./mwbackup.sh WIKI_ROOT BACKUP_DORECTORY [PATH_TO_LOCALSETTINGS]" |
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
| language: php | |
| php: | |
| - 5.3 | |
| - 5.4 | |
| before_script: | |
| - sudo apt-get install apache2 | |
| - sudo a2enmod actions | |
| - sudo a2enmod rewrite |