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 to deploy this code? #1

Open
Valaia opened this issue Jan 11, 2018 · 3 comments
Open

How to deploy this code? #1

Valaia opened this issue Jan 11, 2018 · 3 comments

Comments

@Valaia
Copy link

Valaia commented Jan 11, 2018

I'm sorry for writing this here, I realize it's not a real issue. But how can I use this code? I tried deploying using Heroku but it doesn't work. I'm a noob when it comes to this, can someone please direct me in the right direction ? Thank you!

@Valaia
Copy link
Author

Valaia commented Jan 11, 2018

I figured out that I need a Slack api key... How do I even get that? I tried joining the Quickfingers traders slack group but I couldn't. Any solutions?.. please?

@jspdown
Copy link

jspdown commented Feb 3, 2018

@Valaia To make it works you have to follow these steps:

  • Create a Slack workspace
  • Generate a token using the legacy token generator: https://api.slack.com/custom-integrations/legacy-tokens
  • Create the following channels:
    • scanner_alerts_fiat
    • scanner_alerts_btc
    • scanner_alerts_eth
  • Close this repository
  • Install typescript npm install -g tsc
  • Transpile ts files into js files: tsc *.ts
  • Run the scanner: node index.js
  • Enable slack notification: slack true
  • Add your slack token: slackkey <your-token>
  • Save the configuration: save

@bausan
Copy link

bausan commented Feb 27, 2018

Can you help me with this?

I followed your step and get this error when in run node index.js

node index.js
module.js:540
throw err;
^

Error: Cannot find module '@slack/client'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object. (D:.....\github\quickfingersscanner\slack.js:1:79)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)

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

3 participants