https://github.com/sampandey001/secktor-deploy
Bash Script to deploy bot easily.
https://github.com/sampandey001/secktor-deploy
Last synced: about 1 year ago
JSON representation
Bash Script to deploy bot easily.
- Host: GitHub
- URL: https://github.com/sampandey001/secktor-deploy
- Owner: SamPandey001
- Created: 2022-11-17T03:35:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-20T03:20:37.000Z (over 3 years ago)
- Last Synced: 2025-03-28T12:21:12.311Z (about 1 year ago)
- Language: Shell
- Size: 23.4 KB
- Stars: 24
- Watchers: 3
- Forks: 56
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Secktor-Deploy
## Deploy in any shell including Termux
- [Termux Installation Video tutorial](https://youtu.be/ZgYFPWJdgms)
- All you need is patient and Internet and shell or phone with termux.
- If you don't have termux install from [Termux here with no issues.](https://f-droid.org/repo/com.termux_118.apk)
- First fork Repo and edit sample-config.env to config.env
- Fill variables in config.env file.
- Don't put OWNER_NUMBER,MONGODB_URI,SESSION_ID as it can be stolen.
- Put them during installation when it asks.
- Open shell or termux and run this commands
```
bash <(curl -L https://github.com/SamPandey001/Secktor-Deploy/raw/main/install.sh)
```
- If you see pop up (curl is not installed) run
apt-get install curl
- Put your github username when it asks
- Volla!! bot is alive.
- Restart bot.
Send command to bot ```.restart``` or
- Stop Bot
ctrl+c then npm stop secktor
- Start again.
cd Secktor-Md
npm start
- Change env variables.
1. to make a file.
touch config.env
2. To edit
nano config.env
3. To save and exit
ctrl+o and ctrl+x
4. To change session and restart
cd Secktor-Md/lib/auth_info_baileys && rm -rf *
cd .. && npm start