-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update instructions for local building
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,9 @@ Learn more in the documentation: https://docs.snowplow.io/docs/getting-started-w | |
|
||
## Maintainer quick start | ||
|
||
Assuming [Git][git] and [sbt][sbt]: | ||
First, install [Git][git], [sbt][sbt] and [npm][npm]. | ||
|
||
Then clone the repository and publish the Collector dependency locally: | ||
|
||
```text | ||
git clone [email protected]:snowplow-incubator/snowplow-micro.git | ||
|
@@ -26,10 +28,23 @@ cd snowplow-micro | |
git clone --branch 3.2.0 --depth 1 [email protected]:snowplow/stream-collector.git | ||
cd stream-collector | ||
sbt +publishLocal && cd .. | ||
``` | ||
|
||
To run the tests: | ||
|
||
``` | ||
sbt test | ||
``` | ||
|
||
To build a Docker image for local testing: | ||
``` | ||
cd ui | ||
npm build && cd .. | ||
sbt docker:publishLocal | ||
``` | ||
|
||
Note the Docker image name in the output. | ||
|
||
## Copyright and License | ||
|
||
Copyright (c) 2019-present Snowplow Analytics Ltd. All rights reserved. | ||
|
@@ -74,3 +89,4 @@ Licensed under the [Snowplow Limited Use License Agreement][license]. _(If you a | |
|
||
[git]: https://git-scm.com/ | ||
[sbt]: https://www.scala-sbt.org/ | ||
[npm]: https://www.npmjs.com/ |