https://github.com/musicoin/newsletter-mq-server
https://github.com/musicoin/newsletter-mq-server
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/musicoin/newsletter-mq-server
- Owner: Musicoin
- Created: 2018-11-21T02:12:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-18T04:36:07.000Z (over 6 years ago)
- Last Synced: 2025-01-23T06:13:56.934Z (4 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This is the dependency module for newsletter system in backend's admin panel
## RabbitMQ
First, if you don't have a RabbitMQ service, you need to deploy a RabbitMQ service.
You can install it with apt-get (Ubuntu) or install it with docker (development)
```
Excample
sudo docker pull rabbitmq
sudo docker run -d -e RABBITMQ_NODENAME=musicoin-rabbit --name musicoin-rabbit -p 5672:5672 rabbitmq
```## Change .env
Then you need to set the environment variables for sendgrid service or your MQ servicecopy .env.default to .env and replace environment variables with yours.
## Run the consumer server
Then you can Run the consumer server, so than the newsletter system can use it.npm start