Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can i get a detailed description on how to run this repo? #2

Open
nishu88 opened this issue Oct 2, 2019 · 0 comments
Open

Can i get a detailed description on how to run this repo? #2

nishu88 opened this issue Oct 2, 2019 · 0 comments

Comments

@nishu88
Copy link

nishu88 commented Oct 2, 2019

After performing the steps in readme.. the
cd client/programs/1/ && GOOS=js GOARCH=wasm go build -o main.wasm
is outputted and the container stops running..and no output at localhost:8899

PS C:\Users\Home\Desktop\sadlydistributed> docker build -t sadlydistributed .
Sending build context to Docker daemon  4.415MB
Step 1/8 : FROM golang:1.11
 ---> 43a154fee764
Step 2/8 : RUN apt-get update
 ---> Using cache
 ---> fee378167db8
Step 3/8 : RUN apt-get install -y python3
 ---> Running in ffda80b64792
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libmpdec2 libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib
  python3-minimal python3.7 python3.7-minimal
Suggested packages:
  python3-doc python3-tk python3-venv python3.7-venv python3.7-doc
  binfmt-support
The following NEW packages will be installed:
  libmpdec2 libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib python3
  python3-minimal python3.7 python3.7-minimal
0 upgraded, 8 newly installed, 0 to remove and 33 not upgraded.
Need to get 4591 kB of archives.
After this operation, 23.2 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 libpython3.7-minimal amd64 3.7.3-2 [588 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 python3.7-minimal amd64 3.7.3-2 [1736 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 python3-minimal amd64 3.7.3-1 [36.6 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libmpdec2 amd64 2.4.2-2 [87.2 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libpython3.7-stdlib amd64 3.7.3-2 [1732 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 python3.7 amd64 3.7.3-2 [330 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libpython3-stdlib amd64 3.7.3-1 [20.0 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 python3 amd64 3.7.3-1 [61.5 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 4591 kB in 2s (2131 kB/s)
Selecting previously unselected package libpython3.7-minimal:amd64.
(Reading database ... 15394 files and directories currently installed.)
Preparing to unpack .../libpython3.7-minimal_3.7.3-2_amd64.deb ...
Unpacking libpython3.7-minimal:amd64 (3.7.3-2) ...
Selecting previously unselected package python3.7-minimal.
Preparing to unpack .../python3.7-minimal_3.7.3-2_amd64.deb ...
Unpacking python3.7-minimal (3.7.3-2) ...
Setting up libpython3.7-minimal:amd64 (3.7.3-2) ...
Setting up python3.7-minimal (3.7.3-2) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 15634 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.7.3-1_amd64.deb ...
Unpacking python3-minimal (3.7.3-1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.2-2_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.2-2) ...
Selecting previously unselected package libpython3.7-stdlib:amd64.
Preparing to unpack .../libpython3.7-stdlib_3.7.3-2_amd64.deb ...
Unpacking libpython3.7-stdlib:amd64 (3.7.3-2) ...
Selecting previously unselected package python3.7.
Preparing to unpack .../python3.7_3.7.3-2_amd64.deb ...
Unpacking python3.7 (3.7.3-2) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.7.3-1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.7.3-1) ...
Setting up python3-minimal (3.7.3-1) ...
Selecting previously unselected package python3.
(Reading database ... 16046 files and directories currently installed.)
Preparing to unpack .../python3_3.7.3-1_amd64.deb ...
Unpacking python3 (3.7.3-1) ...
Setting up libmpdec2:amd64 (2.4.2-2) ...
Setting up libpython3.7-stdlib:amd64 (3.7.3-2) ...
Setting up libpython3-stdlib:amd64 (3.7.3-1) ...
Setting up python3.7 (3.7.3-2) ...
Setting up python3 (3.7.3-1) ...
running python rtupdate hooks for python3.7...
running python post-rtupdate hooks for python3.7...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for mime-support (3.62) ...
Removing intermediate container ffda80b64792
 ---> 4cc69003631e
Step 4/8 : RUN go get github.com/hpcloud/tail
 ---> Running in d43ebc2ee0bd
Removing intermediate container d43ebc2ee0bd
 ---> a370b3d7a326
Step 5/8 : RUN go get github.com/rsms/gotalk
 ---> Running in 40162f60fc79
Removing intermediate container 40162f60fc79
 ---> 5e1dd8da6143
Step 6/8 : WORKDIR $GOPATH/src/github.com/sedflix/SadlyDistributed/
 ---> Running in d14c2810ac3a
Removing intermediate container d14c2810ac3a
 ---> e5a010b582cb
Step 7/8 : COPY . $GOPATH/src/github.com/sedflix/SadlyDistributed/
 ---> 47939b3bee8c
Step 8/8 : CMD ["make", "wasm"]
 ---> Running in a579ccaaa800
Removing intermediate container a579ccaaa800
 ---> be585fcc9e5c
Successfully built be585fcc9e5c
Successfully tagged sadlydistributed:latest
SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.
PS C:\Users\Home\Desktop\sadlydistributed> docker run -it -p 8899:8899 sadlydistributed
cd client/programs/1/ && GOOS=js GOARCH=wasm go build -o main.wasm
PS C:\Users\Home\Desktop\sadlydistributed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant