VDolgah is a social network co-developed by students of B8403a and B8403g groups of the Far Eastern Federal University for educational purpose.
PHP v5.5 or higher. MySQL v5.5 or higher.
Install git (http://git-scm.com/) onto your system. Then run a clone:
git clone git://github.com/koninka/fefu-social-network.git
This will download the latest sources into a directory 'fefu-social-network'.
Composer needs to manage dependencies.
If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:
curl -s http://getcomposer.org/installer | php
Then switch to the path/to/fefu-social-network
directory:
cd path/to/fefu-social-network
Then, use the install
command to install all the necessary dependencies:
composer install
or
php composer.phar install
brew install redis
apt-get install redis
https://github.com/rgl/redis/downloads
In php.ini
enable sockets: extension=php_sockets.dll
Before starting coding, make sure that your local system is properly configured for Symfony.
Execute the check.php
script from the command line:
php app/check.php
The script returns a status code of 0
if all mandatory requirements are met,
1
otherwise.
Access the config.php
script from a browser:
http://localhost/path-to-project/web/config.php
If you get any warnings or recommendations, fix them before moving on.
If you still have errors see the Requirements for Running Symfony.
Download installer_linux.sh
.
Then run installer_linux.sh -h
to see more info about usage.
Download installer.bat
and installer.ps1
in directory you want to install the project. Then run installer.bat
as Admin.
Note about git:
You should be able to use git from Windows Command Promt. If you have git but
able to use it from git bash only then you will be prompted to install git
again. There you should check Use Git from the Windows Command Prompt
option.
Note about php and error with msvcr110.dll:
Be sure that you istalled Visual C++ libraries
before running script
Enjoy!
To run server change directory to repository root and execute:
php app/console server:start 0.0.0.0:6543
Replace in NetworkWebSocketBundle\sockets.yml
in network_web_socket.server
section address name on yours.
Then run command:
php app/console websocket:listen default
redis_server
or run redis_server.exe
on Windows