-
-
Notifications
You must be signed in to change notification settings - Fork 140
Install
____ _
| _ \ | |
___| |_) | ___ | |_
/ _ \ _ < / _ \| __|
| __/ |_) | (_) | |_
\___|____/ \___/ \__|
- PHP >= 5.3
- NodeJS
- Sockets
- MySQL database
- composer.phar
-
Download eBot files (https://github.com/deStrO/eBot-CSGO/archive/master.zip)
-
Extract the eBot-CSGO Files
-
Download and install [nodeJS] (http://nodejs.org/)
-
Install NodeJS dependies (npm install or npm install socket.io archiver formidable)
-
To test NodeJS server, just write node websocket_server.js
-
Download and install [composer.phar] (http://getcomposer.org/download/)
-
Install the package and requirements:
- Windows: composer install
- Linux: php composer.phar install
-
Configure the following file: config/config.ini config/logger.ini
-
Windows: edit the 'websocket_server.bat' and enter the correct BOT_IP and BOT_PORT
-
To start eBot, you just need to run the bootstrap.php file (php bootstrap.php)
apt-get install php5 php5-cli mysql-server phpmyadmin mkdir /home/ebotv3 cd /home/ebotv3 wget https://github.com/deStrO/eBot-CSGO/archive/master.zip unzip master.zip mv eBot-CSGO-master ebot-csgo cd ebot-csgo php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));" php composer.phar install npm install socket.io formidable archiver nano config/config.ini # configure the whole php bootstrap.php
### Option 2: Linux install file
* to be done
## About the database
Database is installed with the eBot-CSGO-Web, you have to install the web panel to run the eBot.
[eBot-CSGO-Web] (https://github.com/deStrO/eBot-CSGO-Web)
## Start eBot
Linux: Just start the eBot-CSGO with the following command:
`php bootstrap.php`
Windows: You have to start the websocket_server.bat first, after that, start the eBot with:
`php bootstrap.php`
Under Linux, it's recommended to use the "screen" cmd.
`screen -dmS ebotv3 php bootstrap.php`