No description
Find a file
Matthew Stratford 364d1ad7e1 Bump urllib3 from 1.25.8 to 1.26.5
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.8 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.8...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 22:49:34 +01:00
.github/workflows
config
images
public Fix BAPS <title> 2021-06-13 18:05:25 +01:00
scripts Use configurable BAPSicle server info. 2021-09-08 00:08:28 +01:00
src Merge pull request #242 from UniversityRadioYork/mstratford-offair 2021-09-08 20:40:52 +01:00
.editorconfig
.env Merge fixes / tidies from BAPS3 to Webstudio 2021-06-13 16:20:51 +01:00
.env.baps-development Use configurable BAPSicle server info. 2021-09-08 00:08:28 +01:00
.env.baps-production Use configurable BAPSicle server info. 2021-09-08 00:08:28 +01:00
.env.development
.env.production
.gitignore
Jenkinsfile
mypy.ini Re-add all deleted files for BAPS3 2021-05-28 00:04:08 +01:00
package.json Revert "Bump react-dev-utils from 9.1.0 to 11.0.4" 2021-09-08 22:31:39 +01:00
README.md Add BAPSicle info to readme 2021-09-08 00:38:11 +01:00
requirements.ci.txt Bump urllib3 from 1.25.8 to 1.26.5 2021-09-08 22:49:34 +01:00
requirements.txt Bump urllib3 from 1.25.8 to 1.26.5 2021-09-08 22:49:34 +01:00
serverconfig.ini.example Re-add all deleted files for BAPS3 2021-05-28 00:04:08 +01:00
shittyserver.py Re-add all deleted files for BAPS3 2021-05-28 00:04:08 +01:00
stateserver.py Re-add all deleted files for BAPS3 2021-05-28 00:04:08 +01:00
tsconfig.json
yarn.lock Bump url-parse from 1.5.1 to 1.5.3 2021-09-08 21:40:53 +00:00

WebStudio

WebStudio is URY's big fun machine for doing radio shows from home, using Web Audio and WebRTC. It's also now home to BAPS Presenter, for the BAPS3 (BAPSicle) project, a stripped down WebStudio with most interactions syphoned off to the BAPSicle server instead.

The clientside is written in TypeScript using React and Redux, the serverside is Python using AsyncIO and JACK.

Development

Requirements

Client:

  • Node.js and Yarn (Yarn 1, 2 isn't supported very well by webpack/typescript/anything really)

Server:

  • Python >=3.7

Installing

Clone the repo and run yarn.

You'll probably want to change the values in .env to reflect the MyRadio environment and/or where the server is running (e.g. if you're running the server locally, change REACT_APP_WS_URL to ws://localhost:8079/stream).

If you want to hack on the server, create a virtualenv and install Python packages:

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

Versions

This project provides two different output versions. WebStudio (a client that does all audio in the browser) and BAPS Presenter (a client that controls / displays info from the BAPSicle server).

See below for how to work on each one.

Hacking (WebStudio)

Start the client by running npm start.

Start the server by running python3 stateserver.py and python3 shittyserver.py.

Don't forget to ensure that both TypeScript and MyPy pass, as your code will be rejected by CI otherwise - run tsc --noEmit and/or mypy server.py to check.

Releasing a new version

Every push to master is deployed automatically by Jenkins to https://ury.org.uk/webstudio-dev.

Deploying to https://ury.org.uk/webstudio is also automated but slightly more involved:

  1. Change the version field in package.json to ensure the "about" page is up to date
  2. Push up your version bump and create a pull request to the production branch - https://github.com/UniversityRadioYork/WebStudio/compare/production...master
  3. Once your changes are merged into production they'll get deployed automatically (although you will need to restart the server - ssh to Dolby and run sudo systemctl restart webstudioserver)

Hacking (BAPS Presenter)

Start the client by running npm run start-baps. If you're running non-default settings for your BAPSicle development server, please change .env-baps-development.

Releasing a new version

This is done via the BAPSicle project by updating the /presenter submodule, since BAPS Presenter is built and packaged into the BAPS Server releases there.

If you want to demo build a BAPS Presenter release, run npm run build-baps and the result will be in the build directory.

Screenshots

Mic Live With Main Screen

Home Page of webstudio

Mic Selection Screen