Skip to content

alanly/thedrop-legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

the drop.

Notice: Development has been discontinued; there is a complete rewrite of the application in the pipeline that represents a new vision of what the architecture should be, mainly focusing on a robust API that everyone can build upon.


This is the codebase behind the drop.

The Drop is a content repository site. Content is regularily added to a local directory (either manually or via automated processing) and the content is then indexed by this application and made available to registered users of the site.

Working with the application.

The application is written upon the Laravel 4 web application framework, so the appropriate steps to setup a Laravel 4 application would apply here. This includes adding in the appropriate database server configuration and creating a "secret key".

Because this applicaton makes use of the Cartalyst Sentry authentication framework, you will also have to ensure that Sentry references the defined User model rather than its own included class. This can be configured under Sentry's own configuration file.

In addition to the standard configuration, you will also have to define a directory containing all your media content for the application to index in the RepositoryFile model. Another modification that should be made is changing the Trakt.TV API key to your own, also within the RepositoryFile model. The centralization of these values under a single configuration file is on the "todo" list.

Automated indexing.

The defined content directory is indexed by calling php artisan thedrop:updateFileListing from the console. This process can be automated via a cronjob. Removal of content should be performed from within the application as there currently is no implementation to determine deleted files.

On the "todo" list is an attempt to make use of Laravel's Filesystem events in order to further automate this process and make it a self-contained solution that's easier to manage and better performant.

Contributing.

Feel free to issue pull requests for fixes, improvements, and even additional features that you think would be useful.

Security vulnerabilities and concerns can be addressed to me privately and directly via email at me@alanly.ca.

Licensing.

The Drop is open-source and follows the MIT license.