Skip to content

Commit 3199e2d

Browse files
authored
Setup docs (#2)
* setup docs * style
1 parent 451d994 commit 3199e2d

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

+21-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## bazel + heroku = bazoku
44

5-
Bazoku brings Heroku deployments to bazel. We could have called this *rules_heroku* but *bazoku* sounds too much like *bazooka* to turn down. After all, Bazoku literally launches your bazel target into Heroku 🚀.
5+
Bazoku brings Heroku deployments to bazel. We could have called this *rules_heroku* but *bazoku* sounds too much like *bazooka* to turn down. After all, bazoku literally launches your bazel target into Heroku 🚀.
66

77
## Supported Languages
88

@@ -11,11 +11,30 @@ All of the languages we have tested can be seen in the [examples](./examples) di
1111
- [Go](./examples/go/BUILD.bazel)
1212
- [Python](./examples/python/BUILD.bazel)
1313

14-
## Prerequisites
14+
## Setup
15+
16+
### Prerequisites
1517

1618
- `git` CLI available.
1719
- Existing app created in Heroku.
1820

21+
### WORKSPACE File
22+
23+
Adding the following to your Bazel `WORKSPACE` file will fetch `bazoku` and its dependencies:
24+
25+
```
26+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
27+
28+
http_archive(
29+
name = "bazoku",
30+
sha256 = "f76a15b5c2e0b2674397d7651064f1322d8a364d743f8f2ca23e9864551f468c",
31+
urls = ["https://github.com/salesforce/bazoku/releases/download/v0.0.1/bazoku-v0.0.1.tar.gz"],
32+
)
33+
34+
load("@bazoku//tools:deps.bzl", "bazoku_deps")
35+
bazoku_deps()
36+
```
37+
1938
## Usage
2039

2140
```

0 commit comments

Comments
 (0)