Skip to content

Setup Guide for Windows

serdrdoor edited this page Nov 3, 2021 · 13 revisions

20.0 Setup Guide for Windows

20.1 DEXBot for Windows now has an Install Wizard. See the .exe file here: https://github.com/graphene-blockchain/DEXBot/releases/tag/1.0.0

20.2 Alternatively; you can either download a package or install from the command-line. 20.2.1 If you want updates more often and quickly, take the command-line route. If you just want it as easily as possible download the package, which is recommended for the Windows users.

20.3 Supported Windows versions: 7, 8.1 and 10

20.4 Using package

20.4.1 Installation

20.4.1.1 Download the latest release zip file 20.4.1.2 Extract the file into your folder of choice

20.5 Running

20.5.1 Double click either dexbot-cli.exe or dexbot-gui.exe

20.6 Updating

20.6.1 Remove the old version (no need to delete config and database files) 20.6.2 Repeat installation process

20.7 Using Git

20.7.1 Installation

20.7.2 This method of installation is for advanced users only and requires external tools to be installed.

20.7.6 Open run with WIN + R. Type cmd and press Enter to open Windows terminal.

20.7.6.1 Copy and paste the following commands one line at a time into the terminal and press Enter.

git clone https://github.com/graphene-blockchain/DEXBot.git dexbot
cd dexbot

20.7.6.2 Create virtualenv. (Try this if the 3rd step fails)

pip install virtualenv
virtualenv venv
venv\Scripts\activate

20.7.6.3 Install requirements and build the project.

pip install -r requirements.txt
python setup.py build
python setup.py install

20.7.6.4 In case you have 'make' installed you can skip step 2 and 3, and instead:

make install-user

20.7.6.4.1 NOTE: If installation gives an error when using make, try doing it with first method. (Same with updating.)

20.8 Running

20.8.1 Run GUI with command dexbot-gui.exe or python gui.py

20.8.1.1 OR

20.8.2 Run CLI with command dexbot-cli.exe or python cli.py run

20.8.2.1 NOTE: If you completed step 2, remember to activate virtualenv each time before running the bot.

20.9 Updating

20.9.1 Assuming you are on master branch and inside the dexbot folder:

git pull
python setup.py build
python setup.py install

20.9.2 In case you have 'make' installed updating can be done inside the dexbot folder

git pull
make install-user

20.10 Troubleshooting

20.10.1 Have a look at common problems.