Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Error running under WebStorm #456

Closed
kentenzer opened this issue Aug 8, 2017 · 2 comments
Closed

Error running under WebStorm #456

kentenzer opened this issue Aug 8, 2017 · 2 comments
Labels

Comments

@kentenzer
Copy link

Hi All,

First of all congratulation for this great project!
I would really like to participate and thus I am experimenting with it even though I am old school backend developer, so please forgive my ignorance here.

I have run the zenbot from command line, and it worked excellent, beside I didn't find the simulation html file once it was finished.

I then wanted to get my hands on, and have spent quite good time trying to make docker work with WebStore GUI.
At this point, I have a "Docker for Mac" project, I am using the docker-compose.yml for deployment.
When I run it, I get the following error:

Deploying 'Compose:  docker-compose.yml'...
Removing old containers...
Stopping zenbot_server_1 ... 
Stopping zenbot_mongodb_1 ... 
�Removing zenbot_server_1 ... 
Removing zenbot_mongodb_1 ... 
Removing zenbot_mongodb-data_1 ... 
�(Re)building services...
mongodb-data uses an image, skipping
mongodb uses an image, skipping
Building server
Step 1/7 : FROM node:boron
 ---> 5a767079e3df
Step 2/7 : RUN mkdir -p /app
 ---> Using cache
 ---> 277ce69f522d
Step 3/7 : WORKDIR /app
 ---> Using cache
 ---> d948c2be38ca
Step 4/7 : COPY package.json /app/
 ---> Using cache
 ---> 58ad2acf84ef
Step 5/7 : RUN npm install -g node-gyp && npm install --unsafe-perm
 ---> Using cache
 ---> 6460aaf73226
Step 6/7 : COPY . /app
 ---> d34e254e5037
Removing intermediate container b71ea8162554
Step 7/7 : CMD ./zenbot.sh trade --paper
 ---> Running in ac582e582db0
 ---> 6d51d9c793be
Removing intermediate container ac582e582db0
Successfully built 6d51d9c793be
Successfully tagged zenbot_server:latest
Starting...
Creating zenbot_mongodb-data_1 ... 
Creating zenbot_mongodb-data_1
Creating zenbot_mongodb-data_1 ... done�Creating zenbot_mongodb_1 ... 
Creating zenbot_mongodb_1
Creating zenbot_mongodb_1 ... done�Creating zenbot_server_1 ... 
Creating zenbot_server_1
Creating zenbot_server_1 ... done�Container [Name:/zenbot_mongodb-data_1; ID:df7cca29cefc0f74fe4a44538e6bd73b64022fc8ed789c64849ace96ccc3267b]: is not started
Failed to deploy 'Compose:  docker-compose.yml': Some services/containers not started

My newby question is :), do you know why zenbot_mongodb-data_1 is not started?

Is someone else using WebStorm here?

Really appreciate your help!
Cheers,

@nodevar
Copy link

nodevar commented Aug 8, 2017

I know why you cant access the html files.

#295

With the given information i cant point out why this is not starting.

@kentenzer
Copy link
Author

Hi,

Thanks for your reply! It is good that you are already aware of the html file issue.

Regarding the deploy issue, I am sure this is something related to my environment but I didn't found what the problem is yet.

I attach my Docker.xml configuration file (renamed to txt), I took it from $/.idea/runConfigurations/.
Docker.txt

Also screenshots from the configuration:
screen shot 2017-08-12 at 16 53 22

screen shot 2017-08-12 at 16 53 37

I believe this is the information you may need, but feel free to ask more information.

Thanks in advance!

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants