mode html pour jarvis et intégration dans un miroir sans tain
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
html
README
create_env.sql
screenshoot.png

README

HOWTO
=====

1/ install this package :
-------------------------

```
sudo apt-get install python-pyaudio libatlas-base-dev apache2 php5 screen vim php5-mysql mysql-server mysql-client midori html2text html2text rsstail

```
2/ Add bin directory in your RPI home :
---------------------------------------

```
mv bin /home/pi 
```

3/ Add this bin directoy in your PATH :
---------------------------------------

```
echo 'PATH=$PATH:/home/pi/bin/' | tee -a ~/.bashrc
bash
```

4/ Copy all html in /var/www/html/ 
-----------------------------------

```
sudo cp -Rvf html/* /var/www/html/

```
5/ Edit conf file and php
-------------------------

* Check on google calendar in setting your private ics url and replace it in :

	/var/www/html/frame/6.php line 113

* Replace the user / pass / in  

	/var/www/html/frame/configfile.conf

* Check  the script in bin : news_generate.sh
	
	edit the LISTE URL like in the model

* Apply the sql file  create_env.sql

```
mysql -uUSER -pPASSWD -e "CREATE DATABASE JARVIS;" 
cat create_env.sql | mysql -uUSER -pPASSWD JARVIS 
```
6/ Change the rotation of screen

```
echo 'display_rotate=1' | sudo tee -a /boot/config.txt
```
7/ Create a sym link for midori
-------------------------------
``` 
sudo ln -s /usr/bin/midori /usr/bin/mirrormidori              

``` 

8/ restart

```
sudo reboot
```

9/ The size of each block is in the index.php if their is a probleme


Ex : 500 
```
        <tr>
                <td height='500'>
                        <iframe width="100%" height="500" frameborder="0" src="frame/3.php" scrolling="no" marginheight="0" marginwidth="0"></iframe>
                </td>
        </tr>

```