leftdevel / farma

An inventory and point of sales management system for SMB pharmacy stores.
0 stars 0 forks source link

Document config on Raspberry Pi 2 #1

Open leftdevel opened 9 years ago

leftdevel commented 9 years ago

Things to remember: Install php5, apache2, php5-curl. PDO sqlite3 driver, sqlite3. Node from https://learn.adafruit.com/node-embedded-development/installing-node-dot-js.

Dir app/data won't be there so running db:rebuild will fail. neither app/Resources/node/public.

All apache config (thought final version will run on nginx).

Disable file permission tracking in git: git config core.fileMode false

Mysql driver for php: apt-get install php5-mysql

APC: apt-get install php-apc

APC seems to make the web server load considerably faster. Grab a copy of /etc/php5/conf.d/20-apc.ini

leftdevel commented 9 years ago

Upgrading to Jessie: http://raspberrypi.stackexchange.com/questions/27858/upgrade-to-raspbian-jessie

apt-get install nginx php-fpm

https://www.raspberrypi.org/documentation/remote-access/web-server/nginx.md