-
Create the service file:
[Unit] Description=daphne daemon Requires=daphne.socket After=network.target [Service] Type=simple User=user_name WorkingDirectory=/var/www/app_name ExecStart=/home/user_name/python_env/bin/daphne -u /tmp/daphne.sock app_name.asgi:application [Install] WantedBy=multi-user.targetCommand lines:
sudo systemctl start daphne.service sudo systemctl stop daphne.service sudo systemctl restart daphne.service sudo systemctl status daphne.service4nkh Development TeamMay10 -
Change the specified port:
Restart the deamon:
Change the port and verify:
Ask access to firewall:
If you're on a VPS with a firewall, give access to the port
4nkh Development TeamMay9 -
Build your unix script:
python_script.sh:
Build the service to run the script:
startup.service:
[Unit] Description=Startup Script [Service] ExecStart=/bin/bash "/home/user_name/unix_script/python_script.sh" [Install] WantedBy=multi-user.targetEnable the service and build the symlink:
4nkh Development TeamMay8 -
Easy to setup, very useful, not to expensive. The product is on a good way and it's evolving really fast.4nkh Development TeamApr27
-
An nice blog post about the activation process using memories and how the recurrent neural network using LSTM to try short term prediction inside a contextual approach.4nkh Development TeamApr15





