Skip to content

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.

Instructions

  1. Access the server via ssh.

  2. Attach to (or create) a session::

    tmux attach
    

    If no sessions are found, then simply create a new one:

    tmux
    
  3. Activate the local virtual environment::

    . ~/venvs/bobchat/bin/activate
    
  4. 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.

Clone this wiki locally