Giter Site home page Giter Site logo

config.json doesn't exist about slackapi HOT 3 CLOSED

inumedia avatar inumedia commented on September 7, 2024
config.json doesn't exist

from slackapi.

Comments (3)

niko-dunixi avatar niko-dunixi commented on September 7, 2024

Actually, I just noticed that you're trying to remove this file. Do we need to create this file locally? Are there instructions to do so?

from slackapi.

gpailler avatar gpailler commented on September 7, 2024

This file is not included in the repo because it contains sensitive informations.

  • If you only want to build SlackAPI without tests, you can exclude/unload IntegrationTest project
  • If you want to add tests, compile the project and run it, you have to copy/paste config.default.json to config.json then modify values:
    • userAuthToken => Go to https://api.slack.com/docs/oauth-test-tokens to generate a token for your user
    • botAuthToken => Go to https://my.slack.com/services/new/bot to create a bot for your team and retrieve associated token
    • testChannel => Channel ID (user associated to userAuthToken must be a member of the channel)
    • directMessageUser => A slack member username
    • clientId/clientSecret/authCode are related to TestGetAccessToken test. I'm not sure about the values (specially authCode) so you can ignore this test

We will probably add some details about how to generate this file on the README later

from slackapi.

gpailler avatar gpailler commented on September 7, 2024

Details added in README.md

from slackapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.