- Docker
- Docker Compose
- Make
- Create a .env.local in the root directory with the following variables
PODCAST_FEED_URL='https://anchor.fm/s/2d0cded8/podcast/rss'
DATABASE_URL="sqlite:///%kernel.project_dir%/var/app.db"
EMAIL_TO="please@change.me"
SITE_TITLE="Your Site Title"
# Change to your mailer config
MAILER_DSN=null://null
# This can be local | staging | production
SSL_STAGE=local
SSL_STORE=./infra/docker/dev/ssl_certs
# Change howtocodewell-local.fm to what ever domain you have set in your host file
DOMAINS="howtocodewell-local.fm -> http://webserver"
FORCE_RENEW='false'- Install all the things
$ make install- Test the code
$ make test- Update the host file. On mac run the following
sudo nano /etc/hostsAdd the following entry.
127.0.0.1 howtocodewell-local.fm- Save the host file. On mac run the following
$ sudo killall -HUP mDNSResponder- Access the local site https://howtocodewell-local.fm Or use whatever custom domain you have given it
Build
$ make buildInstall and run
$ make installStop the containers
$ make stopRemove the containers and network
$ make downUninstall (Removes the images, network, volumes, containers, etc...)
$ make uninstallEnter the webserver container in a Bash shell
$ make enterRuns the tests
$ make testImports the RSS feed
$ make import-feed