BlackEye PrivateServer
Well, so I've been working on this private server a while ago and I decided to release the source so anyone can continue it, why? Because this year my goal is getting into the Redbull Art Of Motion contest and this is just a distraction, I'll train 24/7 and I will win1 MARK MY FUCKING WORDS!
Anyway, I won't provide support since I'm lazy and I won't be too much time online, however there are 2 or 3 people that actually answers questions in the support thread, good luck.
What's different in this server?
- The files have been build on top of my Alexya Framework and it's pretty cool. It works mainly with the MVC pattern and some other patterns like Singletone or EventDispatcher for concrete functions.
- Sources are fully documented and it's pretty easy to use.
- Literally no BP files are used, complete new CMS design
- Old client from 2009
- Translations working (You need to translate it)
- Made with love
Package structure:
Code:
blackeye
|
---logs
| Apache's logs directory
---server
| The server sources
---www
| |
| ---blackeye
| | BlackEye's core, this is the real CMS
| ---public_html
| The documents that are accessed from the web browser
---spacemap
Decompiled spacemap for finding packets
The server project is opened with IntelliJ IDEA, download it and all that crap.
The database is located in
blackeye/www/blackeye/database.sql
About translations:
Translations are stored under the folder
blackeye/www/blackeye/translations and are xml files that contains the text to translate and their translation, take a look at the xml file for the english language (
en.xml) and Alexya's documentation (Download alexya from the github repo and go to

)
How to install
First of all download the sources. Once you've downloaded the sources you'll see a zip file containing the project structure shown before.
Extract the folder
blackeye/www to
/var/www/blackeye or
C:/xampp/htdocs/blackeye, depending if you're using linux or winshit.
Edit Apache's configuration to add a new virtual_host with the directory were you extracted the folder
blackeye/www before as DocumentRoot and
blackeye (or whatever you want) as
ServerName and
ServerAlias, or however the fuck you want your virtual host.
My apache configuration was this (don't try to use it because it because the first thing is that I'm running

and it wont work):
Code:
<VirtualHost *:80>
ServerAdmin
ServerName loc
ServerAlias *.loc
# This will be the wildcarded document root. Any folder you create in /var/www/test will be automatically a subdomain name.
VirtualDocumentRoot /var/www/%-2
# For symlinking your projects and htaccesses to work
<Directory />
Options Indexes all FollowSymLinks Includes ExecCGI
AllowOverride all
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/%-3-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/%-3-access.log combined
</VirtualHost>
Here's a link for how to configure a virtual host:

Now you need to configure your dns service to map the direction you used as
ServerName or
ServerAlias to
127.0.0.1.
Open the file
/etc/hosts in Linux or
C:\Windows\System32\Drivers\etc\hosts in
winshit and add the following line:
Code:
THE_VHOST_NAME 127.0.0.1
Where
THE_VHOST_NAME is the name you provided as
ServerName or
ServerAlias.
Restart Apache2.
Go to

, create a database called
blackeye and import the .sql file in
blackeye/www/blackeye/database.sql.
Go to
blackeye/www/blackeye/bootstrap.php and edit the line where it adds an entry to the arrray
SmartyVariables with key
URL, the value must be the full url of the root server, for my configuration it's

, it must end with a backslash (/).
Go to
blackey/www/blackeye/config/database.php and edit the constants to fit your database settings.
As a final note:
By downloading and/or using this sources
you accept the following agreement:
Code:
If you publish the server it will be ad-free and totally free to play meaning that you won't ask for any purchase/buy that requires real money. You will also give credits to Manulaiko (aka me) and tell how awesome he is whenever anyone ask you who's Manulaiko. This agreement might change at any time, I will reply this thread when I change the agreement, if you don't agree with the new version just delete your server and code you own
If you don't accomplish the agreement something bad will happen
Finally, the link, hope someone read the whole post:
And here are some links that you should check:
See you!