- PHP 5.3
- MySQL
- Apache server
After you put the project in apache server. Please do following:
$ chmod 744 environment.sh
$ ./environment.sh All the picture file should put in to web/media/picture/ , and put video file in to web/media/video/
Follow PSR-2
Use the tool like PHP_CodeSniffer to format your code.
Install PHP_CodeSniffer
$ sudo apt install composer
$ sudo apt install php-codesnifferFormat the test.php file to PS2.
$ phpcbf -w --standard=PSR2 test.php
The are some formater like vim-phpfmt for vim8 , vscode-php-formatter for vscode, and sublime-phpcs for sublime.
Do not force push on master.