Coder Social home page Coder Social logo

energy01 / yana-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ldleman/yana-server

0.0 2.0 0.0 3.5 MB

Interface PHP de domotique Y.A.N.A (You Are Not Alone)

Home Page: http://projet.idleman.fr/yana

PHP 76.97% HTML 4.51% Batchfile 0.01% Shell 2.81% JavaScript 8.24% CSS 3.80% Python 0.34% Arduino 1.25% C++ 2.08%

yana-server's Introduction

Yana Server

Interface PHP de domotique Y.A.N.A (You Are Not Alone)

Pré-requis

Installation automatique

Si vous n'êtes pas à l'aise avec le monde linux et que vous n'avez pas trop bidouillé votre système jusqu'ici, vous pouvez utiliser la commande d'installation automatique gentiment proposé par maditnerd, tapez simplement :

sudo wget https://raw.githubusercontent.com/ldleman/yana-server/master/install.sh && sudo chmod +x install.sh && sudo ./install.sh

Puis executez l'adresse web de yana dans un navigateur :

http://adresse.de.votre.rpi/yana-server

Et suivez le formulaire d'installation. nb : A la fin de l'installation, vous pouvez activer ou désactiver les plugins qui vous sont utiles dans la section configuration --> plugins, pensez à le faire AVANT de jouer avec Yana windows ou Yana Android sans quoi aucune commande ne sera disponible

Installation manuelle

Executez les commandes suivantes dans un shell :

sudo apt-get install git-core && sudo apt-get install sqlite3 && sudo apt-get install php5-sqlite && cd /var/www/ && sudo git clone https://github.com/ldleman/yana-server.git /var/www/yana-server && sudo chown -R www-data:www-data yana-server && sudo chown root:www-data /var/www/yana-server/plugins/radioRelay/radioEmission && sudo chmod +s /var/www/yana-server/plugins/radioRelay/radioEmission

Puis executez l'adresse web de yana dans un navigateur :

http://adresse.de.votre.rpi/yana-server

Et suivez le formulaire d'installation.

nb : A la fin de l'installation, vous pouvez activer ou désactiver les plugins qui vous sont utiles dans la section configuration --> plugins, pensez à le faire AVANT de jouer avec Yana windows ou Yana Android sans quoi aucune commande ne sera disponible

Sécurité

Pour des raisons de sécurité, il est très fortement déconseillé d'ouvrir l'accès au serveur web de yana sur l'exterieur. Si vous le faites cependant, il est necessaire d'utiliser apache comme serveur http OU de configurer votre serveur http pour interdire l'accès au dossier /db

Mise à jour

Pour mettre a jour yana-server, il faut utiliser git, placez vous dans le répertoire de yana cd /var/www/yana-server

Et faites un git pull pour récuperer la dernière version git pull

Attention, si vous aviez fait des modifs sur le code entre temps il est possible que le git pull ne fonctionne pas, dans ce cas faites un git checkout pour reprendre la copie exacte du dépot officiel en ecransant vos modifications git reset --hard origin/master

Puis remettez les permission en ecriture sur le dossier plugins

sudo chown -R www-data:www-data /var/www/yana-server && sudo chown root:www-data /var/www/yana-server/plugins/radioRelay/radioEmission && sudo chmod +s /var/www/yana-server/plugins/radioRelay/radioEmission

Une fois l'update terminé, allez en section plugin de yana-server et désactivez/réactivez chaques plugins utilisés afin de mettre à jour leurs tables.

yana-server's People

Contributors

ldleman avatar achilleusd avatar f0cks avatar darkpisto avatar sguernion avatar linquant avatar krotof1a avatar lohub avatar tchoum avatar iyadev avatar

Watchers

Anthony avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.