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

How do you make this code work? #17

Open
maoweipengft opened this issue May 3, 2018 · 3 comments
Open

How do you make this code work? #17

maoweipengft opened this issue May 3, 2018 · 3 comments

Comments

@maoweipengft
Copy link

How do you make this code work?

@daverod24
Copy link

good morning

I would like to know how I can run on my localhost the project

clone the git and then copy .env.example to .env.loc
DB_CONNECT =
DB_NAME =
COOKIE_SALT =
USERNAME_SALT =
NODE_ENV = development
PORT = 8080
SITE_URL = http: // localhost: 8000 / api /
API_BTC_URL = https: //btc.coin.space/api/
API_BCH_URL = https: //bch.coin.space/api/
API_LTC_URL = https: //ltc.coin.space/api/
API_ETH_URL = https: //eth.coin.space/api/v1/
API_XRP_URL = https: //xrp.coin.space/api/v1/
API_XLM_URL = https: //xlm.coin.space/api/v1/
IOS_APP_ID =
SHAPESHIFT_API_KEY =
ANDROID_BILLING_KEY =
GOOGLE_GTM =
IAP_APPLE_PASSWORD =
IAP_GOOGLE_PUBLIC_KEY =
 
then I did docker-compose up

but I would like to know the official documented process of you

Thanks in advance

we want to support

@wagslane
Copy link

I would also like to help. This is my error when using docker-compose up:

web_1         | (node:17) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
web_1         | error Error: Invalid schema, expected `mongodb` or `mongodb+srv`
web_1         |     at module.exports (/coin/node_modules/mongodb/lib/url_parser.js:21:21)
web_1         |     at deprecated (internal/util.js:67:15)
web_1         |     at connect (/coin/node_modules/mongodb/lib/operations/mongo_client_ops.js:180:3)
web_1         |     at connectOp (/coin/node_modules/mongodb/lib/operations/mongo_client_ops.js:284:3)
web_1         |     at /coin/node_modules/mongodb/lib/utils.js:437:24
web_1         |     at executeOperation (/coin/node_modules/mongodb/lib/utils.js:432:10)
web_1         |     at MongoClient.connect (/coin/node_modules/mongodb/lib/mongo_client.js:168:10)
web_1         |     at Function.MongoClient.connect (/coin/node_modules/mongodb/lib/mongo_client.js:372:22)
web_1         |     at module.exports (/coin/server/lib/v1/db.js:9:22)
web_1         |     at Object.<anonymous> (/coin/server/server.js:26:1)
web_master_1  | (node:17) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
web_master_1  | error Error: Invalid schema, expected `mongodb` or `mongodb+srv`
web_master_1  |     at module.exports (/coin/node_modules/mongodb/lib/url_parser.js:21:21)
web_master_1  |     at deprecated (internal/util.js:67:15)
web_master_1  |     at connect (/coin/node_modules/mongodb/lib/operations/mongo_client_ops.js:180:3)
web_master_1  |     at connectOp (/coin/node_modules/mongodb/lib/operations/mongo_client_ops.js:284:3)
web_master_1  |     at /coin/node_modules/mongodb/lib/utils.js:437:24
web_master_1  |     at executeOperation (/coin/node_modules/mongodb/lib/utils.js:432:10)
web_master_1  |     at MongoClient.connect (/coin/node_modules/mongodb/lib/mongo_client.js:168:10)
web_master_1  |     at Function.MongoClient.connect (/coin/node_modules/mongodb/lib/mongo_client.js:372:22)
web_master_1  |     at module.exports (/coin/server/lib/v1/db.js:9:22)
web_master_1  |     at Object.<anonymous> (/coin/server/server.js:26:1)

@dezzyboy
Copy link

dezzyboy commented Dec 5, 2018

no idea why there is no documentation on this but there seem to be steady commits just saying maybe you should try to respond to these minor issues

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

4 participants