From 34092bdad5b24b490b03919702b4c060e652262f Mon Sep 17 00:00:00 2001 From: taniman Date: Thu, 14 Dec 2017 23:13:04 +0100 Subject: [PATCH] Update README.md --- README.md | 56 ++----------------------------------------------------- 1 file changed, 2 insertions(+), 54 deletions(-) diff --git a/README.md b/README.md index 06dbea5..7d42237 100644 --- a/README.md +++ b/README.md @@ -19,58 +19,10 @@ https://t.me/joinchat/FWYlMkKK-mkrSuj836ehug # Check out the wiki -https://github.com/taniman/profit-trailer/wiki/ProfitTrailer +https://wiki.profittrailer.io/ # How to run -Download the latest released jar file -https://github.com/taniman/profit-trailer/releases - -1. Make sure you have java 8 installed on your system -2. Unzip ProfitTrailer.zip file -3. Fill your apiKeys and secrets in application.properties using notepad++ -4. Make sure there are no invisible charters behind the apiKey and secret you fill in -5. Open a terminal or command prompt and type -6. CD to the ProfitTrailer directory -7. java -jar ProfitTrailer.jar -XX:+UseConcMarkSweepGC -Xmx256m -Xms256m - * On OSX or some linux versions you might need to sudo su and then run the java -jar command. -8. 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-ProfitTrailer.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 -1. 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. - -2. Start a chat to your bot's name (for ex. @MyTPBot) and press start button - -3. Start another chat with https://telegram.me/get_id_bot This bot will reveal your Chat ID - -4. Edit application.properties and set - - telegram.botToken = "your bot token" - - telegram.chatId = "your chat id" - - restart the bot - -5. Go to http://localhost:8081/settings/telegramTestMessage to test your telegram setup. You will receive a message if the setup is correct. +https://wiki.profittrailer.io/doku.php/instructions # Authorized resellers on telegram All resellers speak English :) @@ -85,7 +37,3 @@ pm2 log 'id' <-- this is the id pm2 gave your bot - @lowprofiler (Danish & Norwegian) - @gcan9 (Swedish & Greek) - @CryptoGuruOmigus (Japanese) - - No one responding? - - @Elroy (DEV) -