Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslhans committed Nov 9, 2019
1 parent 182febe commit 836cbcd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ I use Deep-renforcement learning for the first POC and Actor-Critic A2C for the
You need to have Apache Kafka and Zookeper for the stream communication.

# First you need to create topic's partitions :
## One for Manager's communications and one to traffic lights communications
## One for Manager's communications and one for traffic lights communications

* Download apache kafka here https://kafka.apache.org/downloads
* Install regularflow with setup :

./setup install
```./setup install```

* Start a kafka's broker and a Zookeper's server
* Run this code in an python's interpreter
Expand Down Expand Up @@ -83,7 +83,10 @@ agent._save() # specify the save for save this traffic light
```


Usage example :
# Usage example :

## for an example go in the example directory and run in two different terminal :
* influencer.py and follower.py
* then run manager0 and manager1

Once topic are created, you can found example of Usage

0 comments on commit 836cbcd

Please sign in to comment.