-
Notifications
You must be signed in to change notification settings - Fork 13
Installing it on Raspberry Pi
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 mysql-server
sudo apt-get install php5-mysql
sudo apt-get install curl
sudo apt-get install php5-mcrypt
While installing, set your root password to something you will remember.
sudo apt-get install redis-server
sudo apt-get install git
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
Run the composer install
composer install --dev
Populate the database
php artisan migrate --seed
Run the server
php artisan serve --host=0.0.0.0 --port=8081