knpuniversity / activity-runner
Executes Twig & PHP activities in a safe manner
Requires
- doctrine/annotations: ~1.1
- doctrine/collections: ~1.1
- monolog/monolog: ~1.6
- nikic/php-parser: ~0.9
- phpunit/phpunit: ~4.5
- silex/silex: ~1.0
- symfony/config: ~2.2
- symfony/console: ~2.2
- symfony/css-selector: ~2.2
- symfony/dom-crawler: ~2.2
- symfony/expression-language: ~2.7
- symfony/finder: ~2.2
- symfony/process: ~2.2
- symfony/property-access: ^2.7
- symfony/yaml: ~2.2
- twig/twig: ~1.12
This package is auto-updated.
Last update: 2024-11-18 02:58:02 UTC
README
Usage
Setup a web server or start the built-in web server:
cd web
php -S localhost:8000
Grading is done via an API. But there is also a web interface to help grade and create activities:
Authoring Tool
To help create challenges, go to the authoring tool:
http://localhost:8000/author
Here, enter the full path to a challenge class filename on your filesystem. The next page will allow you to play with the challenge and test it.
Contributing
Isses and feature requests go to GitHub Issue Tracker. Pull requests are very welcome, as always!
Running the Tests
Activity Runner uses PHPUnit for tests. Simply execute PHPUnit from the project's root directory:
$ phpunit
License
KnpUniversity Activity Runner is released under the MIT License. See the bundled LICENSE file for details.