Before working with Pockeit, you need to install
There is a lot of documentation on the web that explains how to do it.
Check that date.timezone is set in your php.ini file.
For example:
date.timezone = "Europe/Paris"
Tips you can use php -info command to locate your php.ini
1) Download pockeit here https://sourceforge.net/projects/pockeit/files/
2) Unzip the zip file in your webspace or where you want in your machine
3) Create a virtual host in your apache server (if you don't put it in your webspace)
<VirtualHost *:80>
DocumentRoot <PATH_TO_THE_UNZIPED_FILE>/web
ServerName localhost<Directory <PATH_TO_THE_UNZIPED_FILE>/web> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /app.php [QSA,L] </IfModule></Directory>
</VirtualHost>
4) Restart your apache server
5) Copy "\<PATH_TO_THE_UNZIPED_FILE>/app/config/parameters.yml.save "
to
"\<PATH_TO_THE_UNZIPED_FILE>/app/config/parameters.yml"
6) Edit <path_to_the_unziped_file>/app/config/parameters.yml to enter your configuration (don't forget your nodeJs path and modules at the end)
7) Install composer.phar</path_to_the_unziped_file>
curl -s https://getcomposer.org/installer | php
or for windows users
php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
8) Install the symfony's vendors (from "\<PATH_TO_THE_UNZIPED_FILE>)
php composer.phar install
then
php composer.phar update
9) Create the database from <path_to_the_unziped_file></path_to_the_unziped_file>
php app/console doctrine:database:create
then
php app/console doctrine:schema:update --force
10) Install assets from "\<PATH_TO_THE_UNZIPED_FILE>
php app/console assetic:dump
In a navigator go to http://localhost/app_dev.php or http://localhost/web/app_dev.php
Default Login: admin
Default Pwd: lagoutte
Apache can't writte the app/log, app/cache and web directories
Chmod or chown them
Timeout when you use composer.phar
If you need help, please ask on "Discussion" section