-
Notifications
You must be signed in to change notification settings - Fork 13
Installing it on Raspberry Pi
*** THIS IS STILL IN PROGRESS ***
This assumes you have a pretty bare Raspberry Pi version. Mine base was raspbmc.
Install the necessary software first:
sudo apt-get update
sudo apt-get install make
sudo apt-get install php5-dev
sudo apt-get install php-pear
sudo apt-get install libmysqlclient15-dev
sudo apt-get install curl
sudo apt-get install php5-mcrypt
sudo apt-get install mysql-server
While installing, set your root password to something you will remember.
sudo apt-get install redis-server
sudo apt-get install git
Enable pdo_mysql for your PHP
sudo pecl install pdo
Install composer
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
Get the repository
git clone https://github.com/MiniCodeMonkey/Sophie-Tracker-3000.git sophie
cd sophie
Create a database for it
mysql -uroot -p
create database sophietracker;
exit
Edit the database file settings
vi app/config/dev/database.php
Change the database password to the password you have setup
And add the database port to the settings
...
'username' => 'root',
'port' => '3306',
...
Copy the database file to app/config directory
cp app/config/dev/database.php app/config/database.php
Make sure your php has PDO plugin enabled. Edit Run the composer install
composer install --dev