Skip to content

GRRSS - rss app written on Ruby on Rails and Go

Notifications You must be signed in to change notification settings

gukandrew/GRRSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRRSS - RSS Aggregator Application

Welcome to the GRRSS repository! This repository contains the source code for a feature-rich RSS aggregator application built using Ruby on Rails and Go, with RabbitMQ handling the data flow in between. The frontend is developed using the React Component API, with Bootstrap for styling.

Features

  • Aggregates RSS feeds from various sources.
  • Provides a seamless user interface for managing and reading RSS content.
  • Efficient data processing using Go and RabbitMQ.
  • Real-time background updates.
  • TBD: User authentication and authorization.
  • TBD: Notifications.

Demo

Check out our LIVE DEMO of the GRRSS application, hosted on a Raspberry Pi 4. We've set up a tunnel to the IONOS hosting provider to ensure a smooth user experience.

Getting Started

To build and run the GRRSS application using Docker Compose, follow these steps:

  1. Clone this repository to your local machine.
  2. Open a terminal and navigate to the repository's root directory.

Build and Run

docker-compose up --build

To shut down the application, use:

docker-compose down

To remove the database volume, if needed:

docker volume rm grrss_db-data

Development Mode

For development, follow these steps:

  1. Set up environment variables in ror/.env and docker-compose.yml.
  2. Run the following commands:
docker-compose up -d rabbitmq db
ror/bin/rails db:prepare
bin/dev

Updating Cron Jobs

To update the cron jobs, execute:

ror/bin/bundle exec whenever --update-crontab -s 'environment=development'

Verifying Cron Jobs

To verify if the cron jobs are working, monitor the syslog using:

tail -f /var/log/syslog

Clearing Cron Jobs

To clear the cron jobs, use:

ror/bin/bundle exec whenever -c

Running Tests

To run tests, follow these steps:

  1. Start the required services:
docker-compose up -d rabbitmq db
cd ror
bin/rails db:prepare
  1. Run the tests:
bin/bundle exec rspec spec

About

GRRSS - rss app written on Ruby on Rails and Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published