Tuesday, March 19, 2013

ProcessMaker in Mac OS X

How to I did install ProcessMaker on Mac OS X version 10.7.5

Requirements

XAMPP, download it from http://www.apachefriends.org/en/xampp-macosx.html

Steps to install XAMPP

  1. Download XAMPP and install follow the configuration by default, also this include move XAMPP folder to Applications folder, the installer help us with the task
  2. With “Finder” application you enter into folder “Applications>XAMPP” and execute application “XAMPP Control” in order to arrange Apache and MySQL
  3. You can test this URL http://localhost in you browser

Steps to install ProcessMaker
  1. Download ProcessMaker and unpack into folder “/Applications/XAMPP/htdocs”
  2. Set file permissions
  3. Configure Apache Web Server

Set file permissions

Then, execute the following commands as the "root" user so that ProcessMaker can access the necessary files when run by the Apache server:
cd /Applications/XAMPP/htdocs/processmaker/
chmod -R 770 shared/
cd /Applications/XAMPP/htdocs/processmaker/workflow/engine/
chmod -R 770 /Applications/XAMPP/htdocs/processmaker/workflow/public_html
chmod -R 770 config content/languages plugins xmlform js/labels
chown –R nobody:admin /Applications/XAMPP/htdocs/processmaker

Configure Apache Web Server

Edit the ProcessMaker configuration file to fit your environment:
/Applications/XAMPP/htdocs/processmaker/etc/pmos.conf
Eventually like this
# Please change the ip address with your server ip address and
# the ServerName with you own subdomains.
NameVirtualHost 127.0.0.1
#processmaker virtual host
<VirtualHost 127.0.0.1 >
ServerName "127.0.0.1"
DocumentRoot /Applications/XAMPP/htdocs/processmaker/workflow/public_html
DirectoryIndex index.html index.php
<Directory "/Applications/XAMPP/htdocs/processmaker/workflow/public_html">
AddDefaultCharset UTF-8
AllowOverRide none
Options FollowSymlinks
Order allow,deny
Allow from all
RewriteEngine on
RewriteRule ^.*/(.*)$ sysGeneric.php [NC,L]
ExpiresActive On
ExpiresDefault "access plus 1 day"
ExpiresByType image/gif "access plus 1 day"
ExpiresByType image/png "access plus 1 day"
ExpiresByType image/jpg "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
AddOutputFilterByType DEFLATE text/html
</Directory>
</VirtualHost>
Copy the virtual server configuration file:
cp /Applications/XAMPP/htdocs/processmaker/etc/pmos.conf /Applications/XAMPP/etc/extra/httpd-vhosts.conf
From file /Applications/XAMPP/etc/httpd.conf unremark the sentence under  
# User Home directories 
leave like this:
# User home directories
Include /Applications/XAMPP/etc/extra/httpd-userdir.conf
Finally trough the application “XAMPP Control” you restart Apache server, first stop the service and start again.

In your Internet browser (Safari or Firefox) enter http://127.0.0.1 and follow the steps for ProcessMaker Installation, you found more information in official wiki.
Known issues
  • If some screen don't appears you must restart the machine, sorry.

Update :(

  • http://paritynews.com/software/item/789-firefox-not-coming-to-ios-confirms-sullivan




1 comment:

  1. Hi,

    Tried this configuration for xampp and processmaker on windows 7
    - unzipped xampp portable version
    - copied processmaker to htdocs
    - didn´t do file permission change in windows 7
    - made changes in pmos.conf and copied the file to httpd-vhosts.conf, which in my xampp is located at xampp/apache/conf/extra/
    - Include /XAMPP/etc/extra/httpd-userdir.conf already exists
    - tried to start apache, but get error without any log entry
    - any idea???
    - many thanks in advance for any hint ...

    ReplyDelete