Skip to content

Turn slack people api into a directory and game

Notifications You must be signed in to change notification settings

Davidvdv/slack-people

Repository files navigation

slack-people

Build Status

Getting Started

Prerequisites

Developing

  1. Run npm install to install server dependencies.

  2. Run mongod in a separate shell to keep an instance of the MongoDB Daemon running

  3. Copy the file ./server/constants/app.example.json to ./server/constants/app.json and populate the Slack app Client Id and Client secret

  4. Run npm run dev to start the development server. It should automatically open the client in your browser when ready.

Heroku build and deployment

Heroku builds are automatically built and deployed from the master branch to http://solnet-people-dev.herokuapp.com/. These can then be promoted to the Heroku production environment http://solnet-people.herokuapp.com/

Check the .travis.yml for deployment config

AWS Elastic Beanstalk build and deployment

  1. Build a zip version for AWS Elastic Beanstalk run npm run build-elastic and see the file ./latest.zip
  2. Create a new Elastic Beanstalk application
  3. Create a new Elastic Beanstalk environment selecting the platform as Node.js and the app code as upload your own code and select the latest.zip you built earlier
  4. Configure the Elastic Beanstalk environment Software Configuration with the following environment properties:
    • NODE_ENV = production
    • MONGODB_URI =
    • SLACK_CLIENT_ID =
    • SLACK_CLIENT_SECRET =

About

Turn slack people api into a directory and game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published