Skip to content

Zero5211/distelli-slash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Distelli-Slash Build and deploy your app entirely from Slack w/ the Slash command: /distelli. Alt text

##Installation:

###Set up in Distelli

  1. Fork this repository.
  2. Log into Distelli and create a new Distelli application named DistelliSlash (https://www.distelli.com/username/app/new).
  3. If you haven't done so already, connect a GitHub account.
  4. Connect your application to your forked repository.
  5. Create an environment named DistelliSlash-Prod.
  6. Update the first line of your distelli-manifest.yml file to use your Distelli username instead of distelli and push the repository.
  7. Build your application DistelliSlash.
  8. Add a server and deploy the latest release of DistelliSlash to environment DistelliSlash-Prod.
  9. Create an apiToken. (https://www.distelli.com/username/settings?section=API)
  10. Create the following environment variables on environment distellislash-prod: USERNAME=your-userName, SLACKTOKEN=your-slacktoken, SLACKTEAM=your-slackteamid & APITOKEN=your-apiToken (https://www.distelli.com/username/envs/distellislash-prod). You can find you team id here: https://api.slack.com/methods/team.info/test. Your nv should look something like this when you're complete:

###Set up in Slack

  1. Navigate to https://username.slack.com/services/new/slash-commands
  2. In the choose command textbox, enter /distelli and hit the green Add Slash Command Integration button.
  3. In the URL textbox, enter the IP you deployed your app to with :3000 at the end to specify port 3000.

It should look something like this when you're done: Alt text

##Things you can do:

  1. /distelli List Apps: List all apps associated with your Distelli account. Use the command List Apps After [AppName] to see the next page of results.
  2. /distelli List Envs: List all envs associated with your Distelli account. Use the command List Envs After [EnvName] to see the next page of results.
  3. /distelli List Envs for [AppName]: List all envs associated with a Distelli app.
  4. /distelli List Builds: List all builds associated with your Distelli account. Use the command List Builds After [BuildNum] to see the next page of results.
  5. /distelli List Servers: List all servers associated with your Distelli account. Use the command List Servers After [ServerName] to see the next page of results.
  6. /distelli List Servers for Env [EnvName]: List all servers associated with an app enviroment.
  7. /distelli List Releases for App [AppName]: List all releases associated with an app.
  8. /distelli Create App [App Name]: Create a Distelli application.
  9. /distelli Create Env [Env Name] for app [AppName]: Create a Distelli environment.
  10. /distelli Restart Env [Env Name]: Restart an existing environment.
  11. /distelli Latest release for app [appName]: Get information on the latest release associated with an app.
  12. /distelli Deploy latest to env [envName]: Deploy the latest release to an environment.
  13. /distelli Deploy [vXX] to env [envName]: Deploy a specific releases to an environment.

Shoot me an email (alex at distelli.com) if you need a hand with setup!

About

Build and deploy your Distelli app entirely from Slack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%