{"id":15552683,"url":"https://github.com/gperilli/allgore","last_synced_at":"2026-05-05T05:36:53.316Z","repository":{"id":45240324,"uuid":"440692539","full_name":"gperilli/allgore","owner":"gperilli","description":"A horror movie database, and movie list site","archived":false,"fork":false,"pushed_at":"2023-10-23T06:13:40.000Z","size":2188,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T12:22:36.607Z","etag":null,"topics":["horror","movies","rails-application","tmdp-api"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gperilli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-12-22T00:58:39.000Z","updated_at":"2023-07-08T11:49:21.000Z","dependencies_parsed_at":"2022-09-06T08:01:04.481Z","dependency_job_id":"f3d1994b-2e48-4e2d-b1d0-e53037310d13","html_url":"https://github.com/gperilli/allgore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gperilli%2Fallgore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gperilli%2Fallgore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gperilli%2Fallgore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gperilli%2Fallgore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gperilli","download_url":"https://codeload.github.com/gperilli/allgore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246126735,"owners_count":20727595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["horror","movies","rails-application","tmdp-api"],"created_at":"2024-10-02T14:21:40.689Z","updated_at":"2026-05-05T05:36:53.267Z","avatar_url":"https://github.com/gperilli.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Allgore\n\nA horror movie database, and movie list site. Allgore is a website dedictaed to horror movies with hundreds of movies seeded from TMDB.\n\n\u003cimg src=\"public/Allgore-RespDemoImg.png\" width=\"100%\" /\u003e\n\u003cbr\u003e\n\n\n## Built With\n- [Rails 6](https://guides.rubyonrails.org/) - Backend / Front-end\n- [Heroku](https://heroku.com/) - Deployment\n- [PostgreSQL](https://www.postgresql.org/) - Database\n- [Bootstrap](https://getbootstrap.com/) — Styling\n\n## Set Up a Local Development Environment\n\n### Getting the project files\n\nDownload this project code from this Github page. Either do a direct download or use a command line git clone command:\n```\ngit clone git@github.com:gperilli/allgore.git\n```\n\u003cbr\u003e\n\u003cimg src=\"public/github_download_allgore.png\" width=\"25%\"/\u003e\n\nFor more information on getting git (version control system) on your local machine, see [this](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git).\n\n### Setting up a Ruby on Rails development environment: General Outline\n\nThis is a ruby on rails web app, so first set up a rails development environment on your local machine. If you are using Windows, this will probably involve setting up [WSL](https://learn.microsoft.com/en-us/windows/wsl/install), Windows subsystem for Linux, [rbenv](https://github.com/rbenv/rbenv), a ruby environment manager, and Ruby, the language upon which Rails works. Next install [Node.js](https://nodejs.org/en/), [yarn](https://yarnpkg.com/), and [PostgreSQL](https://www.postgresql.org/), then you're good to go.\n\n\n\n### More Details on Setting Up A Rails Environment on a Linux Machine\n\n#### git: version manager\nInstall git:\n```\nsudo apt update\nsudo apt install -y git\n```\n\n\n#### Github CLI: command line interface for Github\nInstall github CLI:\n\n```\nsudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C99B11DEB97541F0\nsudo apt-add-repository https://cli.github.com/packages\nsudo apt update\n```\n\nThen:\n```\nsudo apt install -y gh\n```\n\nCheck the version:\n```\ngh --version\n```\n\nConfigure Github CLI\n\n```\ngh auth login -s 'user:email' -w\n```\nFollow the instructions to connect the local Guthub CLI with your Github account.\n\nConfirm Guthub CLI connection with:\n```\ngh auth status\n```\nThis should display: `Logged in to github.com as \u003cYOUR USERNAME\u003e`\n\nConfigure GIthub CLI with SSH:\n```\ngh config set git_protocol ssh\n```\n\n#### Confugure SSH connection with Github\n\nGenerate SSH codes:\n```\nmkdir -p ~/.ssh \u0026\u0026 ssh-keygen -t ed25519 -o -a 100 -f ~/.ssh/id_ed25519 -C \"TYPE_YOUR_EMAIL@HERE.com\"\n```\n\nGive the SSH public key to your Guthub account:\n```\ngh auth refresh -s write:public_key\n```\nRun this to set the SSH key locally:\n```\ngh ssh-key add ~/.ssh/id_ed25519.pub\n```\n\n#### zsh: custom shell\nInstall imagemagick:\n```\nsudo apt install -y zsh curl vim imagemagick jq\n```\n\ninstall zsh\n```\nsh -c \"$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\"\n```\n\n#### rbenv: ruby version manager\nCheck if rbenv is installed:\n```\nrvm implode \u0026\u0026 sudo rm -rf ~/.rvm\n```\nThe response should be `zsh: command not found: rvm` if it is absent.\n\nUse this to remove previous installation:\n```\nrm -rf ~/.rbenv\n```\ninstall rbenv using git clone:\n```\ngit clone https://github.com/rbenv/rbenv.git ~/.rbenv\n```\n\nconfigure the shell to load rbenv for Zsh:\n```\necho 'eval \"$(~/.rbenv/bin/rbenv init - zsh)\"' \u003e\u003e ~/.zshrc\n```\nrbenv repository details: https://github.com/rbenv/rbenv#basic-git-checkout\n\n\n#### Ruby: server side programming language\nInstall Ruby version 2.7.4:\n```\nrbenv install 2.7.4\n```\n\nSet Ruby 2.7.4 as the gloabl default Ruby version:\n\n```\nrbenv global 2.7.4\n```\n\nRestart the terminal, and check the installed Ruby version with:\n```\nruby -v\n```\n\n#### Node: server side Javascript\nInstall the Node version manager:\n```\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | zsh\n```\n\nrestart the terminal, then confirm the installed version of Node:\n```\nnvm -v\n```\n\nInstall Node version 14.15:\n```\nnvm install 14.15\n```\nConfirm the installation of Node:\n```\nnode -v\n```\n\n#### Yarn: Javascript package manager\nInstall yarn:\n```\nnpm install --global yarn\n```\n\nConfirm the installed yarn version:\n```\nyarn -v\n```\n\n#### PostgreSQL: Database\nInstall the PostgreSQL database:\n```\nsudo apt install -y postgresql postgresql-contrib libpq-dev build-essential\n```\n\n### Setting Up Allgore for Development\nNavigate to the downloaded project files, then do the following to run the web app on a local server:\n\n#### Intall Ruby Gems and Javascript Packages\nInstall gems\n```\nbundle install\n```\nInstall JS packages\n```\nyarn install\n```\nInstall Rails:\n```\ngem install rails -v 6.0.3\n```\n\n### Confirm that the PostgreSQL databse is running:\nIn another terminal window:\n```\nsudo systemctl status postgresql\n```\nThis sholud show something like:\n\n```\npostgresql.service - PostgreSQL RDBMS\n     Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor pr\u003e\n     Active: active (exited) since Mon 2023-10-23 07:59:05 JST; 4h 5min ago\n   Main PID: 974 (code=exited, status=0/SUCCESS)\n        CPU: 1ms\n```\n\nThe databse server can be started and stopped with:\n\n```\nsudo systemctl start postgresql\n```\n\n```\nsudo systemctl stop postgresql\n```\n\n### Create and set the ENV Variables\nAn [IMDB](https://stripe.com/) API key is required to add more movies to the database. Please create a `.env` file and add your IMDB API key in order to do this.\n\nCreate `.env` file in the project folder:\n```\ntouch .env\n```\nInside `.env`, set this variable:\n```\nIMDB_KEY='********'\n```\n\n### Create, migrate, and seed the project databse:\n```\nrails db:create\nrails db:migrate\nrails db:seed\n```\n\nThe seed file will import all the movies in the `seed_list_curated.csv` file.\n\nTo get more horror movies from the IMDB database, use this command:\n```command\nrails runner lib/generate_csv_data_from_api_search.rb\n```\nThis will output a csv file with the movie data. Add this manuualy to the `seed_list_curated.csv` file, and then run the Rails seed, `rails db:seed` to get these movies in the database.\n\nRunning `rails runner lib/generate_csv_data_from_api_search.rb` can take some time because the code is looking through the IMDB collection and selecting movies within the horror genre.\n\n\n### Run The Rails Server\nRun this command to execute the Rails server, then go to `localhost:3000` to see the running app.\n```\nrails s\n```\n\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgperilli%2Fallgore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgperilli%2Fallgore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgperilli%2Fallgore/lists"}