Skip to content
Andy Theuninck edited this page Dec 11, 2014 · 35 revisions

System Requirements

CORE-POS is a web based system. It requires a web server, a database server, and PHP.

  • PHP must be version 5.3+
  • Apache2+ is the only webserver in production usage. CORE-POS does not rely on any Apache-specific features so other web servers will likely work if desired.
  • MySQL (or MariaDB) 5+ is the only database server in production usage. Microsoft SQL Server has been supported in the past and is probably usable still with minimal effort. Adding support for additional flavors of SQL is not out of the question but would involve some work.
  • PHP must be configured with support for your chosen DB. Using PDO or mysqli with MySQL/MariaDB is highly recommended. The POS installation also requires support for sockets. Some features may require additional PHP modules.
    • Integrated card processing requires cURL and OpenSSL
    • Zip is required to import zipped CSV files
    • gettext and intl are required for full language support
    • LDAP is required for LDAP authentication on Fannie

Downloading CORE

You can download CORE directly, or you can clone a copy via git. Using git is recommended as it makes tracking changes and updates easier. To download a copy, use the Releases page. Unpack the archive somewhere under your web server root.

To download a copy via git, first decide whether you want to do any code editing. If you do, it will be easier to first create your own fork of the project. Sign up for a github account (if necessary), go to the project page, and use the Fork button in the upper right. Non-developers can skip this step.

These instructions assume you are using git from the command line. Github has extensive documentation if you go a different route. The goal is to clone the repository somewhere under your web server root.

$ cd /path/to/webroot
$ git clone https://github.com/CORE-POS/IS4C.git

If you are using your own fork, substitute your fork's URL in the clone step. To maintain a reference in your fork to the upstream project, type:

$ git remote add uptream https://github.com/CORE-POS/IS4C.git

Installing Fannie

First Download CORE as described above.

  • Locate the directory named fannie in the downloaded folder. Inside fannie is a file named config.php.dist. Make a copy of this named config.php.
  • Now open a browser and navigate to fannie/install/ in the downloaded folder.
    • If it says config.php is missing, double check this first step.
    • If it says config.php is not writable, follow the on screen steps to resolve. config.php must be writable by the web server to save its configuration.
  • Fill in the the server database host, type, name, and password. You may specify different database names for operational, transaction, and archive data if desired.
  • Click Save Configuration at the bottom of the page. If the database connection fails you will see an error message detailing the problem. Otherwise Fannie will create all of the database structures it requires. This may take a little while to complete. Any errors with specific tables or views will be noted on screen.

Installing POS

First Download CORE as described above.

  • Locate the directory named pos/is4c-nf in the downloaded folder. Inside pos/is4c-nf is a file named ini.php.dist. Make a copy of this named ini.php.
  • Now open a browser and navigate to pos/is4c-nf/install/ in the downloaded folder.
    • If it says ini.php is missing, double check this first step.
    • If it says ini.php is not writable, follow the on screen steps to resolve. ini.php must be writable by the web server to save its configuration.
  • Fill in the lane database host, type, name, and password. You may specify different database names for operational and transaction data if desired. The server database host, type, name, and password should refer to a Fannie server's transaction database. If you do not have a Fannie server, you can simply leave this blank or use the lane values so the single machine fills both roles. In the latter setup, the server database name must be different than the lane operational and transaction database names.

Clone this wiki locally