Is a simple Ruby on Rail web application that attempts to extract all links in any given web application (except web apps that require javascript). The application only extracts links of the given url, this means it will not follow identified links that it finds.
These instructions will get you a copy of the project up and running on your local machine
What things you need to install the software and how to install them
- Ruby-v2.5.1p57
- Rails-v5.2.1
- Postgresql
A step by step series of examples that tell you how to get a development env running
- Clone this repo
cd
tomy-scraper
directory- Install dependencies
bundle install
- Setup figaro
figaro install
- Setup some environment variables in config/application.yml file
NB: replace everything that is inside []
DOMAIN: [your-domain] SMTP_USER_NAME: [your gmail address] SMTP_PASSWORD: [your gmail password]
- Prepare database
rake db:setup
- Migrate database
rake db:migrate
- Start sidekiq
bundle exec sidekiq -q default -q mailers
- Start development server
rails s
😎
- Install docker-compose
- Run
docker-compose build
- Create Database
docker-compose run app bundle rake db:create
- Run migrations
docker-compose run app bundle exec rake db:migrate
- Start your app
docker-compose up
- Visit http://localhost:3000
bundle exec rspec
- Ruby - The programming language
- Rails - Web framework
- Postgres - Database
- Sidekiq - For background jobs
- Faraday - For external HTTP requests
- Redis - Fast data store
- Gideon Kimutai
This project is licensed under the MIT License - see the LICENSE.md file for details