-
Notifications
You must be signed in to change notification settings - Fork 0
OpenBSD Deployment
Nathan Vasquez edited this page Jun 14, 2022
·
7 revisions
This page covers how to access the OpenBSD Deployment on one of our private servers.
This can only be done if you are authorized via RSA.
-
Access the server via
ssh. -
Attach to (or create) a session::
tmux attachIf no sessions are found, then simply create a new one:
tmux -
Activate the local virtual environment::
. ~/venvs/bobchat/bin/activate -
Host the server through
uwsgi::cd /var/www/bobchat uwsgi --fastcgi-socket localhost:3031 --wsgi-file wsgi.py --callable app
note: uwsgi will need permission to edit data under /var/www if appropriate. In our case it is simply ran with root privileges which I'm sure is not the safest solution so feel free to give any recommendations.
Created by Anthony Sainez and Nathan Vasquez.