cb3f20a135 | ||
---|---|---|
README.md |
README.md
ProfitTrailer
We trail the trends!
Join the telegram group
If you have questions after reading the readme
Main Channel
https://t.me/joinchat/FWYlMkKK-mkrSuj836ehug
Channel Language | Channel link |
---|---|
German | https://t.me/joinchat/FDBA_g1yD6Iw-k46ysvYzA |
Potuguese | https://t.me/joinchat/EzzWHAyih4JoEMk0XBiezA |
Russian | https://t.me/joinchat/DreUUw-n-aGoi2LunoJTFA |
Korean | https://t.me/joinchat/DqRTeBHA8KY5_vwKBj3JzA |
Check out the wiki
https://github.com/taniman/profit-trailer/wiki/ProfitTrailer
How to run
Download the latest released jar file
https://github.com/taniman/profit-trailer/releases
- Make sure you have java 8 installed on your system
- Unzip proxybot.zip file
- Fill your apiKeys and secrets in application.properties
- Open a terminal or command prompt and type
- java -jar ProxyBot.jar -XX:+UseConcMarkSweepGC -Xmx256m -Xms256m
- On OSX or some linux versions you might need to sudo su and then run the java -jar command.
- If you did everything correctly the application will start without giving you any error messages
On windows
Open a web browser and go to
http://localhost:8081/checkSetup/
On a Linux VPS
curl http://localhost:8081/checkSetupLinux/
All rows should say 'Looking good!'
If this is not the case, than you have an error in your application.properties
Running in the background
Use the provided pm2 json file.
If you have pm2 installed just use this command.
pm2 start pm2-ProxyBot.json
pm2 save
This will make sure that pm2 will automatically start the bot when pm2 reloads.
To see the log you could do.
pm2 log 'id' <-- this is the id pm2 gave your bot
Setup telegram so the bot can send you telegram messages
-
Talk to @BotFather
1.1. NOT to be confused with TheBotFather channel!!!
1.2 Once there type "/newbot" to create a bot. Answer the questions by typing answers and pressing enter. -
Start a chat to your bot's name (for ex. @MyTPBot) and press start button
-
Start another chat with https://telegram.me/get_id_bot This bot will reveal your Chat ID
-
Edit application.properties and set
- telegram.botToken = "your bot token"
- telegram.chatId = "your chat id"
- restart the bot
-
Go to http://localhost:8081/settings/telegramTestMessage to test your telegram setup. You will receive a message if the setup is correct.
Authorized resellers on telegram
- @Elroy (DEV)
- @Anderson_drsub (Portuguese)
- @Moondust2010 (German)
- @AkaDeCaoS (Spanish)
- @T1M3C (Russian)
- @Another_Diesel (US)
- @billycoin (Chinese)
- @freebits (Korean)