Update README.md

This commit is contained in:
taniman 2017-10-18 21:20:28 +02:00 committed by GitHub
parent 2804e18219
commit 5f2e7dfe38
1 changed files with 22 additions and 20 deletions

View File

@ -19,29 +19,28 @@ https://t.me/joinchat/FWYlMkKK-mkrSuj836ehug
https://github.com/taniman/proxy-bot/wiki/ProxyBot https://github.com/taniman/proxy-bot/wiki/ProxyBot
# How to run # How to run
Download the latest released jar file<br /> Download the latest released jar file
https://github.com/taniman/proxy-bot/releases <br /> https://github.com/taniman/proxy-bot/releases
<br />
Put the jar file in a directory <br /> 1. Make sure you have java 8 installed on your system
Put application.properties in the same directory and fill in your apiKeys and secrets <br /> 2. Unzip proxybot.zip file
<br /> 3. Fill your apiKeys and secrets in application.properties
To be able to run the application you need Java 8 <br /> 4. set server.botMode = true in application.properties
Open a terminal or command prompt and type <br /> 5. Open a terminal or command prompt and type
java -jar ProxyBot.jar -XX:+UseConcMarkSweepGC -Xmx256m -Xms256m<br /> 6. 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.<br /> * On OSX or some linux versions you might need to sudo su and then run the java -jar command.
<br /> 7. If you did everything correctly the application will start without giving you any error messages
If you did everything correctly the application will start without giving you any error messages.
### On windows ### On windows
Open a web browser and go to <br /> Open a web browser and go to
http://localhost:8081/checkSetup/ http://localhost:8081/checkSetup/
### On a Linux VPS ### On a Linux VPS
curl http://localhost:8081/checkSetupLinux/ <br /> curl http://localhost:8081/checkSetupLinux/
<br />
All rows should say 'Looking good!'<br /> All rows should say 'Looking good!'
If this is not the case, than you have an error in your application.properties <br /> If this is not the case, than you have an error in your application.properties
So everything is up and running. <br />
# Running in the background # Running in the background
Use the provided pm2 json file.<br /> Use the provided pm2 json file.<br />
@ -69,8 +68,11 @@ pm2 log 'id' <-- this is the id pm2 gave your proxy
5. Go to http://localhost:8081/settings/telegramTestMessage to test your telegram setup. You will receive a message if the setup is correct. 5. Go to http://localhost:8081/settings/telegramTestMessage to test your telegram setup. You will receive a message if the setup is correct.
# Invalid License # Authorized resellers on telegram
- Talk to @Elroy on telegram to activate - @Elroy (DEV)
- Anderson (Portuguese)
- @Moondust2010 (German)
- @AkaDeCaoS (Spanish)
# Warning # Warning
Please use the proxy on a VPS or machine that you do not use normally. <br /> Please use the proxy on a VPS or machine that you do not use normally. <br />