Skip to content

gregsadetsky/rctv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RCTV

what is this

an IRL tv dashboard at the Recurse Center with "tv apps" to bridge the physical-virtual schism

how to dev (backend)

  • you need a local postgres db

first time:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

duplicate .env.example and name the copy .env and fill in the values inside "" quotes:

cp .env.example .env

Initialize the database and create a django super user for yourself!

python manage.py migrate
python manage.py createsuperuser
# answer admin (username), [email protected], admin (password) and 'y' to confirm the bad password

(optional) create the tv user to enable TV login token auth method. http://127.0.0.1:8000/admin/core/user/add/ (login as the superuser). Username: tv, Password: (generate something secure; it will never be used). This enables passing ?tv_login_token=<TV_LOGIN_TOKEN from .env> to some APIs, e.g. /get_all_apps_for_tauri.

every time:

source venv/bin/activate
python manage.py runserver

Login as the superuser you created to bypass the oauth stack while developing locally: http://127.0.0.1:8000/admin/login/

raspi things

deployment

https://rctv.recurse.com

  • hosted on the recurse disco pi!
  • site is automatically deployed upon git pushing to this repo

TODO/docs

  • see TODO
  • and HOWTODEV-OAUTH
  • while you're here, read a little bit about the development process for RCTV here.

THANKS

  • Jacob Young for creating this with Greg!
  • all of the RCTV app creators!!
  • the Recurse Center for making it happen!!! y'all are the real deal!!
  • Frank Chiarulli for his collab in bringing up the tauri client on the new pi!
  • Sharon Sung for her work in making the couches zoom integration perfect!
  • Josh Wolfe for being the wielder of a laser scalpel and perfectly getting rid of a metric ton of legacy code!

About

Resources

Stars

Watchers

Forks

Contributors

Languages