-
-
Notifications
You must be signed in to change notification settings - Fork 42
Installing Library Package
Mustafa TURAN edited this page Oct 15, 2018
·
6 revisions
The library package can be installed by adding event_bus to your list of dependencies in mix.exs file:
def deps do
[
# ...,
{:event_bus, "~> 1.6.0"}
]
endIn your project's root directory, run mix deps.get shell command to fetch the library from hex packages. On successful fetch you will see an output like:
Resolving Hex dependencies...
Dependency resolution completed:
New:
event_bus 1.6.0
* Getting event_bus (Hex package)
Add :event_bus to your mix.exs file's application/0 function inside the applications list:
def application do
[
applications: [
# ...,
:event_bus
]
]
endCongratulations!!! You have successfully installed the event_bus library. The next step is defining and creating the topic names which will be used in your project.
Contents
- EventBus Wiki
- Getting Started
- Documentation
- Debugging
- Architecture
- Addons
- Samples