Display and searching of movies recommended by hosts of The Flop House Podcast.
Rails, using Sqlite as the database, running in Docker.
- Clone repo
- Add a
.env
fileOMDBAPI=key
AWS_ACCESS_KEY_ID=key
AWS_SECRET_ACCESS_KEY=key
script/setup
After running setup
docker run --env-file .env --rm -it -v "$PWD":/app -p 127.0.0.1:3000:3000 fhr:latest
- Have my Heroku credentials (if you are not me, this is a problem)
- Set these config vars
aws_access_key_id
AWS_SECRET_ACCESS_KEY
OMDBAPIKEY
RAILS_ENV
SECRET_KEY_BASE
To deploy
docker buildx build --platform linux/amd64 -t fhr:latest . \
docker tag fhr:latest registry.heroku.com/[app]/web
docker push registry.heroku.com/[app]/web
heroku container:release web -a [app]