Skip to content
/ yama Public

Yet Another Movie API: A pointless life has run its course

Notifications You must be signed in to change notification settings

fran-pb/yama

Repository files navigation

README

GENERAL INFO

System dependencies

  • Docker & docker-compose
  • Heroku CLI

Docker images

Ruby image: ruby:3.0.0

Postgresql image: postgres:13-alpine

Redis: image redis:6-alpine

Sidekiq: 6.2.0

Configuration .env (template)

DATABASE_HOST=db
DATABASE_NAME=app
DATABASE_USER=postgres
DATABASE_PASS=root

DOCKER IN DEVELOPMENT

docker-compose build
docker-compose up
docker-compose run --rm app bundle install
docker-compose run --rm app yarn

DATABASE

Database manipulation

# By hand setup
docker-compose run --rm app bundle exec rails db:drop db:create db:migrate

# db:create db:schema:load db:seed
docker-compose run --rm app bundle exec rails db:setup

# db:drop db:setup
docker-compose run --rm app bundle exec rails db:reset

HEROKU

Deployment instructions

URL: https://itcrowd-movies.herokuapp.com

git remote add heroku https://git.heroku.com/itcrowd-movies.git
git push heroku develop:master

About

Yet Another Movie API: A pointless life has run its course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages