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
| # This file will override the configation options in the docker-compose | |
| # file. Copy this file to the same folder as docker-compose as .env | |
| # ---------------------------------------------------------------------- | |
| # GENERAL CONFIGURATION | |
| # ---------------------------------------------------------------------- | |
| # Folder to store all data | |
| DATA_DIR=/home/kooper/pecan |
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/bash | |
| # save old state | |
| BRANCH=$(git branch | awk '/^\*/ { print $2}') | |
| STASH=$(git stash -u) | |
| # update all remotes | |
| git fetch --all | |
| # update master |
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" | |
| services: | |
| # mount PEcAn web folder into web server, this allows for | |
| # editing code in PHP and immediatly test the new code. | |
| web: | |
| volumes: | |
| - ${HOME}/git/pecan/web:/var/www/html/pecan | |
| - ${HOME}/git/pecan/docker/config.docker.php:/var/www/html/pecan/config.php |
NewerOlder