Giter VIP home page Giter VIP logo

rabbit-like-checker's Introduction

Rabbit Like Checker

A simple project which posts created at the Posts project are passed as messages using RabbitMQ and appropiate operations done on them at the receiving end, the Likes project.

Installation guide, step by step:

First of all, clone the project:

git clone https://github.com/EngRobot33/Rabbit-Like-Checker.git

Then, we need a virtual environment. You can create like this:

virtualenv venv

Activate it with the command below:

source venv/bin/activate

After that, you must install all of the packages in requirements.txt file in project directory:

pip install -r requirements.txt

For running the project, follow the instructions below:

Posts project

cd Posts
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py createsuperuser
python3 consumer.py

Likes project

cd Likes
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py createsuperuser
python3 consumer.py

Communication

First, make sure you have installed RabbitMQ and pika.

If you are a linux user, run the RabbitMQ server:

sudo service rabbitmq-server start

Else, follow the instructions for Windows and Mac.

Finally, create, edit or delete posts on Posts project and similar opertaions happen at the Likes project.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

rabbit-like-checker's People

Contributors

engrobot33 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.