4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-14 21:26:37 +00:00
AzuraCast is a self-hosted web radio management suite, including turnkey installer tools and an easy-to-use web app to manage your stations. http://azuracast.com/
Go to file
2015-07-11 23:38:21 -05:00
app Fix to schedule API to still show 'minutes_until' on events. Update API docs to reflect event schema too. 2015-07-11 16:54:20 -05:00
live Fix issue with node only listening on localhost. 2015-05-12 23:15:08 -05:00
sites Closes #74 -- Enforce much stronger type hinting on API return values, and update API documentation to return valid, updated responses for nowplaying samples, and to add convention coverage endpoint details. 2015-07-11 06:05:00 -05:00
util Force use of older version of Influx in Vagrant deploys. 2015-06-15 03:38:31 -05:00
web Hide stations that have no available streams. 2015-06-27 03:20:13 -05:00
.gitignore Completely rewrite cache layer to use new "cache.conf.php" for both dev and production, allowing easy testing of cache platforms. Add support for Redis throughout the stack as well. 2015-05-27 20:18:05 -05:00
apiary.apib Minor typo fix in API docs. 2015-07-11 17:25:09 -05:00
composer.json Update Composer dependencies. 2015-07-11 23:38:21 -05:00
composer.lock Update Composer dependencies. 2015-07-11 23:38:21 -05:00
Gulpfile.js Move to node-sass and gulp for SCSS file management, replacing ruby. 2015-03-05 15:17:23 -06:00
License.txt Update company name in license. 2014-06-05 15:59:35 -05:00
package.json Move to node-sass and gulp for SCSS file management, replacing ruby. 2015-03-05 15:17:23 -06:00
phalcon.php Playin' with Phalcon, initial routing setup =) 2014-12-01 05:27:47 -06:00
Readme.md Change 'grunt' to 'gulp' in one instance. 2015-03-05 18:49:00 -06:00
Vagrantfile More changes to allow parallels provider for deployment. 2015-04-30 23:42:56 -05:00

PVL Logo

PVLive is the flagship web application for the Ponyville Live! network, maintained by Bravely Blue Media, LLC.

The PVLive application is built on several powerful technologies:

Behind the scenes, the system is powered by a LEMP (Linux, nginx, MySQL and PHP) stack.

Contribute!

The PVLive codebase has now been made public, both to help our team maintain transparency and to encourage contributions from the developer community. If you see a bug or other issue with the codebase, please report an issue or submit a pull request!

Developing Locally

Want to help improve the PVL application codebase? Now you can run your own local virtual machine for development! Follow these steps to get started:

  • Clone this repository to your hard drive.
  • Install Vagrant for your OS.
  • Install the Vagrant hostsupdater plugin via Vagrant.
  • Install VirtualBox for your OS.
  • Open a command line prompt at the root of this repo.
  • Type vagrant up in the command line.

If you don't already have the Vagrant box downloaded, this process may take several minutes (or even hours, depending on your bandwidth). The box image is cached locally, though, making future vagrant runs easy.

Note: You will only see live production-grade data from the main PVL server if you have the proper API key set in app/config/apis.conf.php. This API key is private, and available upon request from pr@ponyvillelive.com.

Local Administrator

By default, a super-administrator account will be created that will allow you to log in locally and access all administrative commands.

  • Username: admin@ponyvillelive.com
  • Password: password

Any account in the PVL database with access to the administer all action will be granted super-administrator rights, so this can be restored via the database if lost for any reason.

SSH

You can connect to the Vagrant VM by typing vagrant ssh into the command line of the host computer.

Web Server

The web server is configured by default to respond to http://dev.pvlive.me. The URL should automatically be added to your hosts file by the Vagrant hostsupdater plugin.

The web application resides by default in the /var/www/vagrant/ directory inside the Vagrant virtual machine.

Database

MySQL can be accessed directly by connecting to the VirtualBox instance via SSH tunnel, using the SSH username vagrant and password vagrant.

The default MySQL root password is password.

Common Tasks

The Vagrant virtual machine is automatically configured with Composer, Node.js and other important tools pre-installed.

Because stylesheets are written in SCSS, they must first be compiled into CSS before changes will be visible in the browser. To do this:

  • Connect to the VM using vagrant ssh.
  • Type cd /var/www/vagrant.
  • Type gulp build.

Alternately, you can use the gulp watch command to constantly monitor the SCSS files for changes and rebuild them on the fly, but this may not work well with some editors that automatically save frequently.

Questions? Comments? Feedback?

Ponyville Live! is a volunteer project, and we depend on your support and feedback to keep growing.

Issues for the PVLive codebase are tracked in this repository's Issues section on Github. Anyone can create a new issue for the project, and you are encouraged to do so.

If you have any further questions, comments or suggestions, just visit the Contact Us page for more information on how to reach our team.