Skip to content

Commit cd5031b

Browse files
author
Ben Zimmerman
committed
remove footer and use http for docker
1 parent 0202767 commit cd5031b

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ RUN apk --no-cache add ca-certificates
1212
COPY --from=build /src/ww /bin
1313
COPY --from=build /src/web /web
1414
WORKDIR /
15-
ENTRYPOINT ["/bin/ww", "server"]
15+
ENTRYPOINT ["/bin/ww", "server", "-https="]

README

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ To package the browser extension for Firefox or Chrome:
3737

3838
$ make webwormhole-ext.zip
3939

40+
To run the server using docker:
41+
$ docker build -t webwormhole .
42+
$ docker run -p 8000:80 webwormhole
43+
44+
To use a custom signalling server.
45+
$ ww -signal http://localhost:8000 send test.txt
46+
east-pep-aloe
47+
$ ww -signal http://localhost:8000 receive east-pep-aloe
48+
4049
WebWormhole is inspired by and uses a model very similar to that
4150
of Magic Wormhole.
4251

web/index.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@
2525
<input type="submit" id="dial" class="button" value="LOADING..." disabled />
2626
<span id="autocomplete"></span>
2727
</div>
28-
<div id="footer">
29-
<ul>
30-
<li>source: <a href="https://github.com/saljam/webwormhole">github.com/saljam/webwormhole</a></li>
31-
<li>feedback: <a href="mailto:s@lj.am">s@lj.am</a> <a href="https://twitter.com/_saljam">@_saljam</a></li>
32-
<li>install: <a href="https://addons.mozilla.org/firefox/addon/webwormhole/">firefox</a> <a href="https://chrome.google.com/webstore/detail/webwormhole/jhombkhjanncdalcbcahinpjoacaiidn">chrome</a> <a href="https://pkg.go.dev/webwormhole.io/cmd/ww">command line</a></li>
33-
</ul>
34-
</div>
3528
</form>
3629
</body>
3730
</html>

0 commit comments

Comments
 (0)