Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mac_guide [2018/08/09 23:25]
sgtbatten
mac_guide [2019/04/12 20:54] (current)
armchairguru
Line 20: Line 20:
 (To disable automatic sleep, see here: https://​support.apple.com/​kb/​PH25222?​locale=en_US) (To disable automatic sleep, see here: https://​support.apple.com/​kb/​PH25222?​locale=en_US)
 That being said, you may want to buy a VPS before installing it on a dedicated computer. That being said, you may want to buy a VPS before installing it on a dedicated computer.
 +
 ---- ----
 +
 ===1. Installing Java === ===1. Installing Java ===
  
Line 26: Line 28:
  
 Download and install Java 8. Make sure it is the JDK and not the JRE version: \\ Download and install Java 8. Make sure it is the JDK and not the JRE version: \\
-http://​www.oracle.com/​technetwork/​java/​javase/​downloads/​jdk8-downloads-2133151.html+http://​www.oracle.com/​technetwork/​java/​javase/​downloads/​jdk8-downloads-2133151.html\\ 
 +\\
  
-{{ :mac_guide_java_download.png?​400 ​|}}+{{mac_guide_java_download.png?​nolink&400}}\\
  
 ---- ----
Line 39: Line 42:
  
 Make sure you copy/move it to your desktop before proceeding with the next steps. Make sure you copy/move it to your desktop before proceeding with the next steps.
 +
 ---- ----
 +
 ===3. Mandatory Settings === ===3. Mandatory Settings ===
  
Line 49: Line 54:
 </​WRAP>​ </​WRAP>​
  
-{{ :mac_guide_editor_brackets.png?​600 ​|}}+{{mac_guide_editor_brackets.png?​nolink&600}} 
 + 
 +----
  
 ===4. Running ProfitTrailer=== ===4. Running ProfitTrailer===
Line 57: Line 64:
 Navigate to the folder where your ProfitTrailer is located, by typing ''​cd''​ followed by a SPACE and then dragging the small blue folder icon from the top bar of your finder window, like this: Navigate to the folder where your ProfitTrailer is located, by typing ''​cd''​ followed by a SPACE and then dragging the small blue folder icon from the top bar of your finder window, like this:
  
-{{:1pt-drag.png?​600|}}+{{1pt-drag.png?​nolink&600}}
  
 The drag-n-drop trick fills in the path to your ProfitTrailer folder, so you don’t have to look it up. Now press ENTER to go to that folder. The result should look something like this: The drag-n-drop trick fills in the path to your ProfitTrailer folder, so you don’t have to look it up. Now press ENTER to go to that folder. The result should look something like this:
  
-{{:1pt-term.png?​600|}}+{{1pt-term.png?​nolink&600}}
  
 Now that you’ve located your **ProfitTrailer-folder** in the Terminal, it’s time to run the bot. Type the following command and press ENTER: ​ Now that you’ve located your **ProfitTrailer-folder** in the Terminal, it’s time to run the bot. Type the following command and press ENTER: ​
  
 <WRAP center box 100%> <WRAP center box 100%>
-java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 -jar ProfitTrailer.jar -XX:+UseConcMarkSweepGC ​-Xmx512m -Xms512m+java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 -Dio.netty.allocator.numDirectArenas=0 -Djdk.nio.maxCachedBufferSize=262144 ​-XX:+UseSerialGC -XX:​+UseStringDeduplication -Xms64m ​-Xmx512m -XX:​CompressedClassSpaceSize=300m -XX:​MaxMetaspaceSize=128m -jar ProfitTrailer.jar
 </​WRAP>​ </​WRAP>​
  
Line 72: Line 79:
  
 <WRAP center box 100%> <WRAP center box 100%>
-sudo java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 -jar ProfitTrailer.jar -XX:+UseConcMarkSweepGC ​-Xmx512m -Xms512m+sudo java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 -Dio.netty.allocator.numDirectArenas=0 -Djdk.nio.maxCachedBufferSize=262144 ​-XX:+UseSerialGC -XX:​+UseStringDeduplication -Xms64m ​-Xmx512m -XX:​CompressedClassSpaceSize=300m -XX:​MaxMetaspaceSize=128m -jar ProfitTrailer.jar
 </​WRAP> ​ </​WRAP> ​
  
 If you are successful, you will see the following appear in your terminal window. ​ If you are successful, you will see the following appear in your terminal window. ​
  
-{{:1pt-spring.png?​600|}}+{{1pt-spring.png?​nolink&600}}
  
 <WRAP center round important 60%> <WRAP center round important 60%>
Line 83: Line 90:
 </​WRAP>​ </​WRAP>​
  
 +\\
  
 Your ProfitTrailer bot is now up and running. **Congratulations!** Your ProfitTrailer bot is now up and running. **Congratulations!**
Line 94: Line 102:
 When you open the GUI for the first time you will be asked to set a password. You will also need to enter your [[application.properties#​default_api_key]] to confirm you are the owner. When you open the GUI for the first time you will be asked to set a password. You will also need to enter your [[application.properties#​default_api_key]] to confirm you are the owner.
  
-{{:​set_admin_password.png?​nolink|}}+{{:​set_admin_password.png?​nolink}}
  
 If successful you will then be asked to Login. If successful you will then be asked to Login.
  
-{{::​login.png?​nolink|}}+{{::​login.png?​nolink}}
  
 Finally you will be presented with the Config Load screen. See [[faq#​how_do_i_save_and_load_different_configurations|Saving/​Loading/​Importing/​Editing Configs]]. Finally you will be presented with the Config Load screen. See [[faq#​how_do_i_save_and_load_different_configurations|Saving/​Loading/​Importing/​Editing Configs]].
  
-There are three methods for choosing your first configuration:​+There are two methods for choosing your first configuration:​
  
   * **Public** - Choose from our database of public configs and copy it to your bot giving it a unique name.   * **Public** - Choose from our database of public configs and copy it to your bot giving it a unique name.
   * **Saved** - Choose from one of your own configs that you have already created in the past.   * **Saved** - Choose from one of your own configs that you have already created in the past.
-  * **Import** - Choose a name and import a config from your ProfitTrailer initialization folder. 
  
-{{::​initial_settings_load.png?​nolink|}}+{{::​initial_settings_load.png?​nolink}} 
 + 
 +----
  
 ===5. Run via start script (optional)=== ===5. Run via start script (optional)===
Line 117: Line 126:
 If it ran without using **sudo**: If it ran without using **sudo**:
 <WRAP center box 100%> <WRAP center box 100%>
-echo "java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 -jar ProfitTrailer.jar -XX:+UseConcMarkSweepGC ​-Xmx512m -Xms512m" ​> runpt.sh; chmod a+x runpt.sh+echo java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 -Dio.netty.allocator.numDirectArenas=0 -Djdk.nio.maxCachedBufferSize=262144 ​-XX:+UseSerialGC -XX:​+UseStringDeduplication -Xms64m ​-Xmx512m -XX:​CompressedClassSpaceSize=300m -XX:​MaxMetaspaceSize=128m -jar ProfitTrailer.jar ​> runpt.sh; chmod a+x runpt.sh
 </​WRAP>​ </​WRAP>​
  
 If it requires **sudo** to run: If it requires **sudo** to run:
 <WRAP center box 100%> <WRAP center box 100%>
-echo "sudo java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 -jar ProfitTrailer.jar -XX:+UseConcMarkSweepGC ​-Xmx512m -Xms512m" ​> runpt.sh; chmod a+x runpt.sh+echo sudo java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 -Dio.netty.allocator.numDirectArenas=0 -Djdk.nio.maxCachedBufferSize=262144 ​-XX:+UseSerialGC -XX:​+UseStringDeduplication -Xms64m ​-Xmx512m -XX:​CompressedClassSpaceSize=300m -XX:​MaxMetaspaceSize=128m -jar ProfitTrailer.jar ​> runpt.sh; chmod a+x runpt.sh
 </​WRAP>​ </​WRAP>​
  
  • mac_guide.1533857134.txt.gz
  • Last modified: 8 months ago
  • by sgtbatten