-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from gopherdata/version-1
Update to Version 1 - gomacro, new docs, and more
- Loading branch information
Showing
642 changed files
with
222,806 additions
and
24,869 deletions.
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This is the official list of people who can contribute | ||
# (and typically have contributed) code to the gophernotes | ||
# repository. | ||
# | ||
# Names should be added to this file only after verifying that | ||
# the individual or the individual's organization has agreed to | ||
# the appropriate Contributor License Agreement, found here: | ||
# | ||
# http://code.google.com/legal/individual-cla-v1.0.html | ||
# http://code.google.com/legal/corporate-cla-v1.0.html | ||
# | ||
# The agreement for individuals can be filled out on the web. | ||
# | ||
# Names should be added to this file like so: | ||
# Name <email address> | ||
# | ||
# Please keep the list sorted. | ||
|
||
Bobby Norton <[email protected]> | ||
Dan Kortschak <[email protected]> | ||
Daniel Whitenack <[email protected]> | ||
Fransesc Campoy <[email protected]> | ||
Harry Moreno <[email protected]> | ||
Josh Cheek <[email protected]> | ||
Kevin Burke <[email protected]> | ||
Matthew Steffen <[email protected]> | ||
Sebastien Binet <[email protected]> | ||
Spencer Park <[email protected]> | ||
Thomas Kluyver <[email protected]> | ||
Yang Yang <[email protected]> |
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 |
---|---|---|
@@ -1,24 +1,44 @@ | ||
FROM golang | ||
FROM alpine:3.5 | ||
MAINTAINER dwhitena | ||
|
||
# dependencies | ||
RUN apt-get update && \ | ||
apt-get install -y pkg-config libzmq3-dev build-essential python3-pip && \ | ||
pip3 install --upgrade pip | ||
# Add gophernotes | ||
ADD . /go/src/github.com/gopherdata/gophernotes/ | ||
|
||
# set up golang | ||
ENV PATH /usr/local/go/bin:$PATH | ||
ENV GOPATH /go | ||
ENV PATH $GOPATH/bin:$PATH | ||
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" | ||
|
||
# install gophernotes | ||
RUN go get golang.org/x/tools/cmd/goimports | ||
RUN go get -tags zmq_3_x github.com/gopherds/gophernotes | ||
RUN mkdir -p ~/.ipython/kernels/gophernotes | ||
RUN cp -r $GOPATH/src/github.com/gopherds/gophernotes/kernel/* ~/.ipython/kernels/gophernotes | ||
|
||
# install jupyter | ||
RUN pip3 install jupyter | ||
# Install Jupyter and gophernotes. | ||
RUN set -x \ | ||
# install python and dependencies | ||
&& apk update \ | ||
&& apk --no-cache add \ | ||
ca-certificates \ | ||
python3 \ | ||
su-exec \ | ||
gcc \ | ||
git \ | ||
py3-zmq \ | ||
pkgconfig \ | ||
zeromq-dev \ | ||
musl-dev \ | ||
&& pip3 install --upgrade pip \ | ||
&& ln -s /usr/bin/python3.5 /usr/bin/python \ | ||
## install Go | ||
&& apk --update-cache --allow-untrusted \ | ||
--repository http://dl-4.alpinelinux.org/alpine/edge/community \ | ||
--arch=x86_64 add \ | ||
go \ | ||
## jupyter notebook | ||
&& ln -s /usr/include/locale.h /usr/include/xlocale.h \ | ||
&& pip3 install jupyter notebook \ | ||
## install gophernotes | ||
&& GOPATH=/go go install github.com/gopherdata/gophernotes \ | ||
&& cp /go/bin/gophernotes /usr/local/bin/ \ | ||
&& mkdir -p ~/.local/share/jupyter/kernels/gophernotes \ | ||
&& cp -r /go/src/github.com/gopherdata/gophernotes/kernel/* ~/.local/share/jupyter/kernels/gophernotes \ | ||
## clean | ||
&& find /usr/lib/python3.5 -name __pycache__ | xargs rm -r \ | ||
&& rm -rf \ | ||
/root/.[acpw]* \ | ||
ipaexg00301* \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
EXPOSE 8888 | ||
CMD ["jupyter", "notebook"] | ||
CMD [ "jupyter", "notebook", "--no-browser", "--allow-root", "--ip=0.0.0.0" ] |
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
FROM alpine:3.5 | ||
MAINTAINER dwhitena | ||
|
||
# Add gophernotes | ||
ADD . /go/src/github.com/gopherdata/gophernotes/ | ||
|
||
# Install Jupyter and gophernotes. | ||
RUN set -x \ | ||
# install python and dependencies | ||
&& apk update \ | ||
&& apk --no-cache add \ | ||
ca-certificates \ | ||
python3 \ | ||
su-exec \ | ||
gcc \ | ||
g++ \ | ||
git \ | ||
py3-zmq \ | ||
pkgconfig \ | ||
zeromq-dev \ | ||
musl-dev \ | ||
mercurial \ | ||
&& pip3 install --upgrade pip \ | ||
&& cp /usr/bin/python3.5 /usr/bin/python \ | ||
## install Go | ||
&& apk --update-cache --allow-untrusted \ | ||
--repository http://dl-4.alpinelinux.org/alpine/edge/community \ | ||
--arch=x86_64 add \ | ||
go \ | ||
## jupyter notebook | ||
&& ln -s /usr/include/locale.h /usr/include/xlocale.h \ | ||
&& pip3 install jupyter notebook \ | ||
## install gophernotes | ||
&& GOPATH=/go go install github.com/gopherdata/gophernotes \ | ||
&& cp /go/bin/gophernotes /usr/local/bin/ \ | ||
&& mkdir -p ~/.local/share/jupyter/kernels/gophernotes \ | ||
&& cp -r /go/src/github.com/gopherdata/gophernotes/kernel/* ~/.local/share/jupyter/kernels/gophernotes \ | ||
## get the relevant Go packages | ||
&& go get -insecure gonum.org/v1/plot/... \ | ||
&& go get -insecure gonum.org/v1/gonum/... \ | ||
&& go get github.com/kniren/gota/... \ | ||
&& go get github.com/sajari/regression \ | ||
&& go get github.com/sjwhitworth/golearn/... \ | ||
&& go get -insecure go-hep.org/x/hep/csvutil/... \ | ||
&& go get -insecure go-hep.org/x/hep/fit \ | ||
&& go get -insecure go-hep.org/x/hep/hbook \ | ||
&& go get github.com/montanaflynn/stats \ | ||
&& go get github.com/boltdb/bolt \ | ||
&& go get github.com/patrickmn/go-cache \ | ||
&& go get github.com/chewxy/math32 \ | ||
&& go get github.com/chewxy/hm \ | ||
&& go get github.com/chewxy/vecf64 \ | ||
&& go get github.com/chewxy/vecf32 \ | ||
&& go get github.com/awalterschulze/gographviz \ | ||
&& go get github.com/leesper/go_rng \ | ||
&& go get github.com/pkg/errors \ | ||
&& go get github.com/stretchr/testify/assert \ | ||
## clean | ||
&& find /usr/lib/python3.5 -name __pycache__ | xargs rm -r \ | ||
&& rm -rf \ | ||
/root/.[acpw]* \ | ||
ipaexg00301* \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
EXPOSE 8888 | ||
CMD [ "jupyter", "notebook", "--no-browser", "--allow-root", "--ip=0.0.0.0" ] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
# Gopkg.toml example | ||
# | ||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
|
||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/cosmos72/gomacro" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/nu7hatch/gouuid" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/pebbe/zmq4" |
Oops, something went wrong.