Skip to content
The Podcast Website
Branch: master
Clone or download
peterfisher peterfisher
peterfisher and peterfisher Fixing file name
Latest commit 0d905f8 May 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apache2
app/config Adding Rob Wilsons podcast interview May 24, 2019
source Fixing file name May 24, 2019
tests Adding the unit test dir Apr 12, 2019
.dockerignore Removing deployment script. This is handled off site Mar 30, 2019
.env.dist Removing quotes Mar 28, 2019
.gitignore Ignoring .DS_Store Apr 12, 2019
.travis.yml Running local server through PHP and setting host to 0.0.0.0 Apr 11, 2019
Dockerfile No need to recreate dev packages Mar 30, 2019
README.md Updating title Apr 16, 2019
codeception.yml Adding codeception Apr 11, 2019
composer.json Fixing broken json - My fault with the merge Apr 11, 2019
composer.lock Updates from building within the Docker container Apr 11, 2019
docker-compose.yml Removing site docker volume Mar 30, 2019

README.md

How To Code Well Podcast

Build Status

Requirements

  • Composer
  • Docker
  • Docker Machine
  • Docker Compose

Install

Build the Docker machine, image and container

$ docker-machine create howtocodewell.fm
$ docker-machine env howtocodewell.fm
$ eval $(docker-machine env howtocodewell.fm)

Configure

Copy .env.dist to .env and update based on environment

$ cp .env.dist .env
$ vi .env

Build the site

$ docker-compose -f docker-compose.yml exec howtocodewell_fm bin/sculpin generate --watch --server

Get the IP of the Docker Machine

$ docker-machine ip howtocodewell.fm

Add the IP as a local host entry

$ sudo nano /etc/hosts

Use howtocodewellfm.com as the hostname or whatever is set in $DOMAINS in .env

Now go to the browse and https://howtocodewellfm.com (This is local dev site)

Logs

$ docker-compose -f docker-compose.yml logs -f howtocodewell_fm
You can’t perform that action at this time.