-
Notifications
You must be signed in to change notification settings - Fork 0
Linux VPS (command line SSH setup)
On your local computer head on over to Latest Release Download and save the zip file somewhere handy.
Open up the zip file and copy the contents into a folder.
Notepad on Windows does not format nicely and it's best to use Notepad++ when editing files like this. You can get Notepad++ here: Download Notepad++
Right click 'config.ini' and select 'Edit with Notepad++' from the menu.
This file controls everything the bot does. The current configuration settings are examples and we encourage you to change them.
You can find a detailed description of all the options in config.ini here: Configurations Explained
You can find details on how to setup a strategy here: Strategy Setup
Alternatively head over to our Discord channel for help creating a strategy.
Once you're done setting up your strategy you can save and close the file.
If you're unfamiliar with connecting to and working with a VPS I would highly recommend heading over to our Discord where you can get a helping hand from our support.
If the computer you're using to connect to your VPS runs Windows you will need to download two programs to connect and interact with your VPS.
PuTTy(to connect) WinSCP (to transfer files)
Once these have been downloaded and installed we can transfer our Bearpuncher folder over to our VPS.
Open up WinSCP - you'll immediately be greeted with a box asking for some login information. Fill in 'Hostname' with your server IP address. An example of what an IP address looks like: 202.179.114.84
Fill in Username/Password with the username/password for your VPS. Click 'Login'. Once the connection process has gone through you should see something like the screen below:
Locate your Bearpuncher folder (If you saved it to your desktop or documents then it will most likely be under C:\Users\yourusername\Desktop or \Documents).
Drag the folder over to the right hand pane. You should see a progress bar and the Bearpuncher folder appear on the right. We're now done with WinSCP and can go ahead and close it. Next we will connect to your VPS in order to start the bot.
First open PuTTy and fill in as seen below:
You should see a new command prompt window open up asking for your login. Enter your username, hit enter, then password, and enter again. First we want to install PM2 so that closing the command prompt window doesn't close the bot. At the command prompt go ahead and type the following commands - one at a time.
sudo apt-get update
sudo apt-get install npm
sudo npm install pm2@latest -g
In order to start the bot simply type the following commands one at a time
pm2 start /var/opt/Bearpuncer/bearpuncher-pm2.json
pm2 startup
pm2 save
After typing the above commands successfully we'll go ahead and look at Bearpuncher by entering the following:
pm2 log 0
You will have a few prompts since it's your first time running.
- Read and accept the Terms of Service (type 'y' and then enter)
- Create your username and password
- Type your username at the prompt (it's case sensitive) and hit enter.
- Type your password, hit enter, confirm password, hit enter.
- Note: It's normal not to see your password as you type it in.
- Enter your Binance API Key (Copy-> Right click anywhere in the Bearpuncher window to paste), hit enter
- Enter your Binance API Secret - copying over same as above
- Enter your Bearpuncer license key - copying over same as above
Once you've filled in the above info the bot will start! It will take 30 seconds to a minute for the bot to populate candles and launch the web interface.
If you want to view the web interface remotely (that is look at your VPS's bot from your home computer) you will need to open port 5000 on the VPS's firewall. The method of doing this varies depending on what Linux distribution you're running. If you're unsure how to do this please reach out to us in Discord.
Once the port has been opened head on over to
yourserveripaddress:5000
- Join us on Discord for strategy discussion and support