-
-
Notifications
You must be signed in to change notification settings - Fork 71
Home
Pardons Julien edited this page Oct 2, 2013
·
3 revisions
- Apache2
- php5
Panel setup
Copy the content of the "eBot-WEB" folder in the web folder (i.e /var/www).
Setup the database via the Symfony command:
php symfony configure:database "mysql:host=localhost;dbname=ebotv3" login password
Insert the database:
php symfony doctrine:insert-sql
Create a admin user profile:
php symfony guard:create-user --is-super-admin admin@ebot admin password
Copy the fils /config/app_user.yml.default into /config/app_user.yml
Configure the file /config/app_user.yml
Update ebot_ip and ebot_port with the correct IP and PORT
Update log_path_admin and log_path for the logs display to work correctly
Clean Symfony cache via:
php symfony cc
Going into your eBot panel. To go into the admin page, you have to type /admin.php
Advanced/secured panel configuration
The panel runs with Symfony, it is better to "securize" its installation, here are a few steps to follow:
Move "eBot-WEB" in a non-accessible subfolder (such as /usr/share).
Clean Symfony cache via
php symfony cc
Create the file /etc/apache2/conf.d/ebotv3 and put this inside:
Alias /eBot-CSGO /usr/share/eBot-WEB/web
<Directory "/usr/share/eBot-WEB/web">
AllowOverride All
Allow from All
</Directory>
Edit the file /usr/share/eBot-WEB/web/.htaccess
Modify the line:
#RewriteBase /
By:
RewriteBase /eBot-CSGO
Restart apache:
/etc/init.d/apache2 reload