Skip to content

ualbertabiomed/uabiomed.ca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UAB Website

Getting Started

This repo contains all code required to run our website, it is a svelte app using a custom tornado package to serve the site.

See below for basic instructions for connecting to the server hosting the website, using TMUX, and how to run and make changes to the website.

Connecting

Our website's server runs on a linux server hosted by the Cybera Rapid Access Cloud (RAC). Speak with the software team lead or club president to get SSH access for the admin account.

Serving the website

Attach to the "Webserver" TMUX session (see below for details and commands), cd to the ~/uab directory, and run sudo ./run.sh.

TMUX

Overview

TMUX is short for Terminal Multiplexer. Essentially, it is a way to have multiple terminal sessions active at once from a command line interaface.

This allows us to have 2 sessions, with different purposes. Our 3 sessions are as follows:

  1. Webserver: Runs the main webserver app, if this isn't running you won't be able to browse to the website.
  2. Applications: Handles new applications
Commands

A very basic guide to get started with TMUX can be found here and a more detailed guide here.

The prefix for all tmux commands is CTRL + B this can be changed via the tmux.conf file. Some basic commands to get you started are below.

List all sessions

tmux ls

Attach to a session

tmux attach-session -t <session name> or tmux a -t <session name>

Detach from current session

CTRL + b d

Create a new session

tmux new -s <session name>

End a session

tmux kill-session -t <session name>

Dependecies

python3 -m pip install tornado pysha3 pymysql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •