- 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="[email protected]"
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/hosts
Add 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 build
Install and run
$ make install
Stop the containers
$ make stop
Remove the containers and network
$ make down
Uninstall (Removes the images, network, volumes, containers, etc...)
$ make uninstall
Enter the webserver container in a Bash shell
$ make enter
Runs the tests
$ make test
Imports the RSS feed
$ make import-feed