Skip to content

Bluette1/web-images-scraper-api

Repository files navigation

web-images-scraper-api

Built With

  • Ruby version 3.1.4
  • Rails version 6
  • Redis Cache
  • Selenium Chrome Driver
  • SideKiq

Description

Live Demo

Live Demo

Run instructions

  • Make sure Redis is running, if not type the following commands in the terminal to start the Redis server

redis-server --daemonize yes

  • You can clone the GitHub repo and run the app locally
    bundle install
    rails server
    

How to use the site

Make sure the server is running

Setting up env variables

  • Set access keys/credentials locally according to the .env_example file.

Deployment

  • You can deploy on Heroku.

    • Make sure you run the following in the terminal for the build:
      heroku buildpacks:set heroku/ruby
      heroku buildpacks:add heroku/chromedriver
      heroku buildpacks:add heroku/google-chrome
      

    to add the required buildpacks.

    • Also remember to scale your dyno formation from the Heroku CLI with the ps:scale command: heroku ps:scale worker=1

Authors

👤 Marylene Sawyer

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.