Thanks for purchasing Workice CRM.
Workice CRM is build with Laravel Framework
The applications requires PHP >= 7.1.3 and MySQL.
Required PHP Extensions¶
Step 1: Download the code¶
Download the code from Envato Market Downloads page. The zip includes all dependencies.
Step 2: Upload the code to your server¶
Copy the ZIP file to your server and then check that the storage folder has 755 permissions and is owned by the webserver user.
cd /path/to/workice chmod -R 755 storage sudo chown -R www-data:www-data storage bootstrap public
Step 3: Setup the database¶
You’ll need to create a new database along with a user to access it. Most hosting companies provide an interface to handle this or you can run the SQL statements below.
CREATE DATABASE workicecrm; CREATE USER 'workicecrm' IDENTIFIED BY 'workicecrm##'; GRANT ALL PRIVILEGES ON workicecrm.* to [email protected]'%' identified by 'workicecrm##'; FLUSH PRIVILEGES;
Step 4: Configure the web server¶
Once you can access the site the initial setup screen will enable you to configure the database and email settings as well as create the initial admin user.
- Check your webserver log (ie, /var/log/apache2/error.log) and the application logs (storage/logs/laravel-error.log) for more details or set
- To resolve
[Symfony\Component\Debug\Exception\FatalErrorException] Class 'SomeClass' not foundtry running php artisan optimize
- To resolve
file_put_contents(...): failed to open stream: Permission deniedrun
chmod -R 777 storagethen
chmod -R 755 storage
composer install --no-devand
composer dump-autoloadcan sometimes help with composer problems.
- Composer install error:
Fatal error: Allowed memory size of...Try the following:
php -d memory_limit=-1 /usr/local/bin/composer install --no-dev