Find a file
2016-05-21 22:15:37 +01:00
app New profiles, works better on mobile 2016-05-19 22:31:04 +01:00
bootstrap Licensed Pony.fm under the GNU Affero General Public License (AGPL). 2015-10-24 22:17:45 -07:00
config Replaced Pony.fm's profiler with @barryvdh's Laravel Debugbar. 2016-02-16 02:53:28 -08:00
database Avoid destroying the test database in the middle of tests. All tests now pass! 2016-02-21 20:47:52 -08:00
public Npm-ified angular-strap 2016-05-21 21:34:12 +01:00
resources Webpack doing its thing 2016-05-21 22:15:37 +01:00
storage Initial L5.1 commit 2015-08-30 12:26:03 +01:00
tests Avoid destroying the test database in the middle of tests. All tests now pass! 2016-02-21 20:47:52 -08:00
tools Moved nginx's and MySQL's logs into the "storage" directory. 2015-09-12 16:49:16 -07:00
vagrant Moved the dev environment's datastore into the storage directory. 2016-02-02 18:40:50 -08:00
.arcconfig Merge rPF91611faead64: Merge the MLP Music Archive import scripts. 2015-09-10 12:15:19 +01:00
.editorconfig Improved track pagination to better handle tons of content, including a "jump to page" button. 2015-10-29 03:24:12 -07:00
.gitattributes Removed non-local configs from this repo. 2015-12-20 04:59:01 -08:00
.gitignore Make changes in regards to #28 2015-12-13 13:42:37 +00:00
artisan Initial L5.1 commit 2015-08-30 12:26:03 +01:00
composer.json New profiles, works better on mobile 2016-05-19 22:31:04 +01:00
composer.lock New profiles, works better on mobile 2016-05-19 22:31:04 +01:00
gulpfile.js Revert "Merge branch 'feature-remote-dev' of https://github.com/Poniverse/Pony.fm" 2016-05-16 01:00:37 +01:00
LICENSE Licensed Pony.fm under the GNU Affero General Public License (AGPL). 2015-10-24 22:17:45 -07:00
package.json Npm-ified angular-strap 2016-05-21 21:34:12 +01:00
phpspec.yml Updated Pony.fm's PHP namespace to Poniverse\Ponyfm. 2015-10-23 18:22:14 -07:00
phpunit.xml Added APP_KEY for the testing environment. 2015-12-31 19:04:16 -08:00
README.md Updated the README. 2016-02-16 02:57:19 -08:00
server.php Initial L5.1 commit 2015-08-30 12:26:03 +01:00
Vagrantfile Updated the Homestead Vagrant box. 2016-03-15 22:30:38 -07:00
webpack.base.config.js Integrated Webpack for the embedded player. 2016-02-16 03:35:52 -08:00
webpack.dev.config.js Revert "Merge branch 'feature-remote-dev' of https://github.com/Poniverse/Pony.fm" 2016-05-16 01:00:37 +01:00
webpack.production.config.js Updated the README. 2016-02-16 02:57:19 -08:00

Pony.fm Logo

The community for pony fan music.

For artists, Pony.fm features unlimited uploads and downloads, automatic transcoding to a number of audio formats, and synchronized tags in all downloads.

For listeners, Pony.fm offers unlimited streaming and downloading, user-generated playlists, favourite lists, and a way of discovering new music with pony-based taxonomies.

Contributing

If you've run across a bug or have a feature request, open an issue for it.

For general questions and discussions about the site, stop by at the Pony.fm forum.

For quick fixes, go ahead and submit a pull request!

For larger features, it's best to open an issue before sinking a ton of work into building them, to coordinate with Pony.fm's maintainers.

Protip: Looking for a place to jump in and start coding? Try a quickwin issue - these are smaller in scope and easier to tackle if you're unfamiliar with the codebase!

Starting a dev environment

To begin development, do the following:

  1. Install Vagrant and VirtualBox if you don't have them already.

  2. Install the vagrant-hostmanager plugin: vagrant plugin install vagrant-hostmanager

  3. Install the vagrant-bindfs plugin: vagrant plugin install vagrant-bindfs

  4. Run vagrant up from the folder in which you cloned the repository

  5. Run vagrant ssh, cd /vagrant, and php artisan poni:setup.

  6. Follow the instructions in the "Asset pipeline" section below to set that up.

Once everything is up and running, you'll be able to access the site at http://ponyfm-dev.poni/. You can access the MySQL database by logging into ponyfm-dev.poni:3306 with the username homestead and the password secret. Pony.fm's database is named homestead.

Asset pipeline

Pony.fm uses gulp to mange its asset pipeline.

Important: Run npm and gulp from your host machine and not within the VM. You must first have it installed globally:

npm install -g gulp

And then install all of the required local packages by invoking:

npm install

Finally, to compile and serve the assets in real time, run the following (and leave it running while you develop):

gulp watch

Configuring the servers

Pony.fm uses nginx, php-fpm, redis, and MySQL. You can modify the configuration of these services by locating the appropriate config file in the vagrant folder. Once modified, you must reload the configuration by running the appropriate shell script (reload-config.sh) or bat files (reload-config.bat and reload-config.vmware.bat). These scripts simply tell Vagrant to run copy-and-restart-config.sh on the VM.

If you need to change any other configuration file on the VM - copy the entire file over into the vagrant folder, make your changes, and update the copy-and-restart-config.sh script to copy the modified config back into the proper folder. All potential configuration requirements should be represented in the vagrant folder and never only on the VM itself as changes will not be preserved.