Skip to content

Simple python script to send command using SSH, powered by Flask

License

Notifications You must be signed in to change notification settings

bakulrujak/hookcommander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hookcommander

Simple python script to send command using HTTP or commandline to AWS. Powered by Flask and boto3

Requirements

  • boto3
  • Flask
  • paramiko

Install

  • Config file is located at utils/config.py, contains AWS credentials, HTTP port (for Flask), and other parameters.
  • Install all requirements pip3 install -r requirements.txt

Run flask

  • Run command python3 main.py
  • No usage guideline for Flask (RESTful API) for now. Please stay tune.

Usage in CLI yojee-chat deployment

  • Run command ./pydeployr.py [commit ID]

About

Simple python script to send command using SSH, powered by Flask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages