User Tools

Site Tools


deployment_raspberry

This is an old revision of the document!


ip ermitteln:

login: ssh user@ip

Virtual environment cd sese_project/serious-seeds source env/bin/activate

Create Database

Start Dev Server python3 manage.py runserver 0.0.0.0:8000

### Turn off power management for network adapter

Create a new systemd service file:

sudo systemctl edit –force –full wifipower.service

Paste the following content into the file:

Code

  [Unit]
  Description=Disable WiFi Power Management
  [Service]
  Type=oneshot
  RemainAfterExit=yes
  ExecStart=/sbin/iw dev wlan0 set power_save off
  [Install]
  WantedBy=multi-user.target
  Save and exit the editor. 

Enable the service: sudo systemctl enable wifipower.service.

Start the service immediately: sudo systemctl start wifipower.service

(or reboot the Pi for it to take effect.)

deployment_raspberry.1760554413.txt.gz · Last modified: by ninin