Limelight is a review application that changes the mould by being able to leave reviews for Artists and Venues separately. This allows for more detailed reviews, combined with our machine learning systems Limelight sets out to create the best experience for regular users.
assets/ contains assets definition
commands/ contains console commands (controllers)
components/ contains logic related to APIs
config/ contains application configurations
controllers/ contains Web controller classes
core/ contains inherited files from Yii
helpers/ contains basic function helper classes
mail/ contains view files for e-mails
migrations/ contains incremental database update files
models/ contains model classes
runtime/ contains files generated during runtime
tests/ contains various tests for the basic application
vendor/ contains dependent 3rd-party packages
views/ contains view files for the Web application
web/ contains the entry script and Web resources
widgets/ contains custom made widgets
To use this application in a development environment there are a few pieces of software that you must have installed first, these are:
- Vagrant: Configuration software for running and maintaining a local development environment. This will be used to communicate with your virtual machine
- Composer: PHP dependency manager, this will be used to download all of the assets from
composer.json - npm/yarn: JavaScript package manager, this will be used to download all of the JS dependencies
This is a simple guide to get up and running with Limelight in a development environment.
- Clone the repository down from GitHub - https://github.com/uniglos/advanced-group-project-limelight
Vagrant upin the consoleVagrant sshin the consolecd /vagrantin the consolecomposer install&yarnornpminstallphp yii migratein the console- The site should be up and running, some reasons for it not working would be setting the document root or database problems
- You can install test data by typing
php yii fixture/load "*"in the console
# run all available tests
vendor/bin/codecept run
# run acceptance tests
vendor/bin/codecept run acceptance
# run only unit and functional tests
vendor/bin/codecept run unit, functional