Start the Server

Last Updated: September 2022

The Tethys Portal production deployment uses NGINX and Daphne servers. Rather than manage these processes individually, you should use the supervisorctl command to perform start, stop, and restart operations:

Start:

python
sudo supervisorctl start all

Stop:

python
sudo supervisorctl stop all

Restart:

python
sudo supervisorctl restart all

You can also start, stop, or restart nginx:

python
sudo supervisorctl restart nginx

You can also start, stop, and restart all of the the Daphne processes:

python
sudo supervisorctl restart asgi:*