Created
December 8, 2012 04:29
-
-
Save Foxboron/4238624 to your computer and use it in GitHub Desktop.
Bot modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modules: | |
- git module (clone etc) | |
- nginx module (make config for site, restart etc) | |
- file module (execute file, download file etc) | |
- user module (get information about vps user etc) | |
- server module (launch custom bash commands from files) | |
Auth system: | |
- Specify admins in config file | |
- Add new users with priviliges in sqlite file | |
- Remove user | |
- authenticate with password | |
--- | |
bot add sotd | |
*creats http://sotd.codetalk.io and all the files it needs. | |
maps the folder dir to the name sotd.* | |
bot sotd clone github.com_repo_shit | |
*clones repo shit to the folder dir under sotd.* | |
bot sotd exec <file> | |
*execs a file containing shell commands. each file should contains shit so server can be restarted | |
rebooted, cleaned, started etc* | |
bot del sotd | |
*RM EVERYTHING!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hola bro