Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please update documentation #6

Open
liouma opened this issue May 4, 2024 · 0 comments
Open

Please update documentation #6

liouma opened this issue May 4, 2024 · 0 comments

Comments

@liouma
Copy link

liouma commented May 4, 2024

The installation procedure is as follow:

  • Installer l'image 1.0.2
  • créer un fichier vide ssh à la racine de la carte
  • installer la carte dans le pi puis :
  • se loguer en ssh:
  • cd /opt/pynab
  • source /opt/pynab/venv/bin/activate
  • pip install paho-mqtt==1.6.1
  • git clone https://github.com/nopap/nab2mqttd
  • cd /opt/pynab/nab2mqttd
  • sudo cp nab2mqttd.service /lib/systemd/system/
  • cd ..
  • Edit nabweb/settings.py and add "nab2mqttd" in the INSTALLED_APPS section
  • Generate migrations files : python manage.py makemigrations
  • Apply migration : python manage.py migrate
  • Reload systemd unit definition : sudo systemctl daemon-reload
  • Enable service (start on rabbit boot): sudo systemctl enable nab2mqttd
  • Start service: sudo systemctl start nab2mqttd
  • Make sure the service is working fine (check logs): sudo journalctl -u nab2mqttd
  • Restart nabweb: sudo service nabweb restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant