# Build the docker image
build: docker build -t uribench/handbook .

# Run the docker container, with local volume mount
run: docker run -it --rm -p 3000:${PORT:-3000} -e PORT -v $PWD:/docs uribench/handbook

# Run the docker container, without local volume mount
run-no-vol: docker run -it --rm -p 3000:${PORT:-3000} -e PORT uribench/handbook

# Start the madness server with local theme
madness: madness --theme _theme

# Deploy to Heroku. 
deploy: heroku container:push web --app software-engineering-handbook && heroku container:release web --app software-engineering-handbook
