- download these two files to the same directory
- docker-compose up
- http://localhost should show you "it works" which is apache being reverse-proxied through nginx
- docker sets up DNS for
webbased on compose service name so the nginx front-end can find http://web - proxy is set to listen on public port 80 on host so it'll receive incoming traffic, then push to httpd
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
| echo 'deb http://http.debian.net/debian wheezy-backports main' > /etc/apt/sources.list.d/wheezy-backports-main.list | |
| curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash | |
| apt -y install git-lfs | |
| #Setup base paths | |
| WORKSPACE_PATH="/home/workspace/capstone_ws" | |
| PROJECT_NAME="T2-CapstoneProject" | |
| # Setup the base repository | |
| rm -rf $WORKSPACE_PATH |
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 | |
| #Setup base paths | |
| WORKSPACE_PATH="/home/student/capstone_ws" | |
| PROJECT_NAME="project" | |
| # Setup the base repository | |
| rm -rf $WORKSPACE_PATH | |
| mkdir -p $WORKSPACE_PATH && cd $WORKSPACE_PATH | |
| git clone https://github.com/jmsktm/T2-CapstoneProject.git $PROJECT_NAME |
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
| #!/usr/bin/env python3 | |
| import os | |
| path = "/home/james/Github" | |
| def exec(command): | |
| print("Executing Command: {}".format(command)) | |
| os.system(command) | |
| def main(): |
Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts and experience preferred (super rare at this point).
OlderNewer