Skip to content

Minimal example of a hubot project that fails to run on Azure

Notifications You must be signed in to change notification settings

doubleo2/hubot-azure-repro

Repository files navigation

reprot

Reproducing the failure

  1. Create a Web app App Service on Azure

  2. Enable Local Git Repository deployment

  3. Set the necessary environment variables

     HUBOT_ADAPTER=slack
     HUBOT_SLACK_TOKEN=<slack-token>
    
  4. Deploy

     git remote add azure https://<deployment-user>@<site-name>.scm.azurewebsites.net:443/<site-name>.git
     git push azure master
    

How this project was created

  1. yo hubot
  2. rm Procfile
  3. Remove unused heroku and redis modules from external-scripts
  4. npm uninstall hubot-heroku-keepalive hubot-redis-brain --save
  5. azure site deploymentscript --node
  6. Add a step to deploy.sh to create hubot script with coffee extension
  7. Create server.js to start hubot

About

Minimal example of a hubot project that fails to run on Azure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published