Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
U
utilitybillscraper
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • BlocPower
  • utilitybillscraper
  • Wiki
  • Celery Broker (RabbitMQ) Development

Last edited by Denis Popov Jul 05, 2016
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Celery Broker (RabbitMQ) Development

RabbitMQ is the default broker so it does not require any additional dependencies or initial configuration, other than the URL location of the broker instance you want to use:

BROKER_URL = 'amqp://guest:guest@localhost:5672//'

Development

mac

# install brew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
# install rabbitmq
brew install rabbitmq
echo "PATH=$PATH:/usr/local/sbin" >> .profile
# start service
brew services start rabbitmq
# stop service 
brew services stop rabbitmq

Testing

the same as development, TBD - based on tests design

Amazon (ec2 | Ubuntu)

echo 'deb http://www.rabbitmq.com/debian/ testing main' | sudo tee /etc/apt/sources.list.d/rabbitmq.list
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install rabbitmq-server

# status
sudo rabbitmqctl status

# start
sudo rabbitmq-server

# stop
sudo rabbitmqctl stop

# management
sudo rabbitmq-plugins enable rabbitmq_management
sudo rabbitmqctl add_user <user> <pass>
sudo rabbitmqctl set_permissions -p / <user> ".*" ".*" ".*"
sudo rabbitmqctl set_user_tags <user> administrator
# http://<your-server>:15672/

For cluster https://www.rabbitmq.com/clustering.html

Clone repository
  • Celery Broker (RabbitMQ) Development
  • Celery Broker (RabbitMQ) Production
  • Celery Broker (RabbitMQ) Testing
  • Celery Result Backend (Development)
  • Celery Result Backend (Production)
  • Celery Result Backend (Testing)
  • Celery Worker (Development)
  • Celery Worker (Production)
  • Celery Worker (Testing)
  • Home
  • Scraper Data Format