This project uses the MediaSilo API and creates a basic screener application. Users are presented with a list of projects and assets that can be viewed in the browser. This project is intended as a starting-off point for a developer who wishes to build any variety of applications using MediaSilo as the media management platform.
For more information on the api, please see our official API Documentation.
To see a demo of this project, go to: http://silo-microsite.herokuapp.com
Username: viewer Password: MicroSite1
git clone https://github.com/mediasilo/microsite.git
After you have downloaded this project, follow the instructions below:
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
composer update
Point your virtual host to the /public directory or use the SLIM built-in server:
php -S 0.0.0.0:8080 -t public public/index.php
Open settings.php inside the /src directory. Update the 'hostname' variable with your account/host name. All logins will automatically go against your own MediaSilo account.
// MediaSilo Settings
'ms_settings' => [
'hostname' => 'microsite'
]
Since this is a standalone app using the API, the sky is the limit. Create your own templates with all the goodness that is CSS and JavaScript.
This project uses the lightweight Slim Framework for basic routing in PHP. You can use your mini-framework of choice; we like Slim because of its simplicity.
This project also uses Twig as a lightweight templating language. There are only two pages in the templates directory: home.html and login.html.
A great way to run your microsite is to use Heroku. This project already includes the required Procfile and apache_app.conf files. Check here for instructions on how to get your project deployed on Heroku in just a few steps.