Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bo-Chun Chen
Flask_User_Reg
Commits
18c66f47
Commit
18c66f47
authored
Feb 11, 2020
by
Bo-Chun Chen
Browse files
Rename config file
parent
13a25977
Changes
5
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
18c66f47
...
...
@@ -23,7 +23,7 @@ $ pip install -r requirements.txt
## Usage
-
Modify
`rabbit_config.py.example`
and rename it as
`rabbit_config.py`
-
Modify
`rabbit
mq
_config.py.example`
and rename it as
`rabbit
mq
_config.py`
-
Open up a shell, start ood consumer on ood node
```
...
...
flask_producer.py
View file @
18c66f47
...
...
@@ -2,7 +2,7 @@ import pika
import
sys
import
socket
import
json
import
rabbit_config
as
rcfg
import
rabbit
mq
_config
as
rcfg
if
len
(
sys
.
argv
)
<
3
:
sys
.
stderr
.
write
(
"Usage: {} TAG USERNAME "
.
format
(
sys
.
argv
[
0
]))
...
...
ohpc_consumer.py
View file @
18c66f47
#!/usr/bin/env python
import
pika
# python client
import
sys
import
rabbit_config
as
rcfg
import
rabbit
mq
_config
as
rcfg
import
socket
import
json
...
...
ood_consumer.py
View file @
18c66f47
#!/usr/bin/env python
import
pika
# python client
import
sys
import
rabbit_config
as
rcfg
import
rabbit
mq
_config
as
rcfg
import
socket
import
json
...
...
rabbit_config.py.example
→
rabbit
mq
_config.py.example
View file @
18c66f47
File moved
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment