Skip to content

Open-source web application for radio stations to manage show schedules, traffic and compliance

License

Notifications You must be signed in to change notification settings

codefordenver/Comrad

Repository files navigation

Comrad

API Documentation

Currently, we are in the process of doing a beta test of Comrad with KGNU. The project board linked above reflects the high priority issues that have come up in beta testing with KGNU.

Table of Contents

What is Comrad?

Comrad is an open-source web application for use by community radio stations that helps with crucial show scheduling and playlist entry to organize all on air and streaming processes for hosts and DJ’s. There is an initial version of it in use at KGNU in Boulder, CO, but the system needs several feature and usability improvements to bring it to the point where other community radio stations can adopt it.

This fellowship will allow the building of Comrad 2.0, permitting a standalone open source distribution in English and Spanish that will greatly benefit the small to mid-sized community radios as well as the hundreds of budget limited Lower Power FM radios just taking to the air in the United States.

Running Debugger

  1. Setup the VS Code Node Debugger
  • Got to the debug window
  • Add a new configuration to the VS Code launch.json file using the 'Node:Attach' method. The configuration will look like this:
  "configurations": [
    
    {
      "type": "node",
      "request": "attach",
      "name": "Attach",
      "port": 9229
    },
  ]
  1. Start Comrad using the node debug command, this starts the server in debug mode npm run debug

  2. Once the node server is fully running, navigate back to the debug tab and press the play button with the 'Attach' configuration selected

  3. The debugger should now be running and will stop at any breakpoints on the backend server

  4. For debugging the front end server (React) use the Google Chrome debugger

  • Install the 'Debugger for Chrome' VS Code plugin
  • Add the launch or attach debugger for chrome to the configuration files (For the launch debugger you can set the url to "url": "https://localhost:3000", in order to launch to the proper localhost port)
  • Run the regular npm server using npm run dev
  • Note: If you are having trouble with the proxy requests to the backend while debugging, try closing all chrome tabs, running the Launch Chrome debug configuration, and running npm run dev.
  • The Launch Chrome configuration should look like:
  {
  "type": "chrome",
  "request": "launch",
  "name": "Launch Chrome",
  "url": "https://localhost:3000",
  "webRoot": "${workspaceFolder}"
  },

For more information on the VS Code debugger:

About

Open-source web application for radio stations to manage show schedules, traffic and compliance

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published