Skip to content

bhrutledge/jahhills.com

Repository files navigation

jahhills.com

Reboot of hallelujahthehills.com using the Django web framework and the Bourbon family of SASS libraries.

Launched on April 12, 2016, in conjunction with the band's fifth album, A Band Is Something To Figure Out.

As with the first iteration, this is an exercise in using the framework. This time around, the focus is on test-driven development, best practices, and YAGNI. Launched as an MVP, with enhancements and bugs across the stack tracked in GitHub Issues.

Deployed as a static site to minimize server requirements.

Anyone is welcome to explore the data.

Getting Started

Clone this repo.

Copy hth/.env.example to hth/.env, then edit to set the values.

Enable development mode with export DEBUG=True (use direnv for persistence).

Bootstrap the environment with make.

Run the test suite with make test.

Start runserver with make serve.

Compiling CSS

Install Bundler.

Install Sass tools with bundle install.

Recompile CSS on Sass changes with make css.

Production infrastructure

Deployment

Run the test suite with make test.

Dump local content changes with make dumpdata.

Commit and push to GitHub.

Build the static site with make dist.

View the static site with netlify dev.

Deploy and publish the static site with netlify deploy.

Publish the data with make -C data publish.