https://github.com/thecodingmachine/quiz-demo-joomla
https://github.com/thecodingmachine/quiz-demo-joomla
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thecodingmachine/quiz-demo-joomla
- Owner: thecodingmachine
- License: gpl-2.0
- Created: 2015-11-19T15:22:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-21T11:05:37.000Z (almost 10 years ago)
- Last Synced: 2025-02-16T12:30:29.434Z (9 months ago)
- Language: PHP
- Size: 8.26 MB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Quiz demo: Mouf + Joomla
========================
This repository contains a PHP Quiz demo application, running on Joomla.
You can access the website by browsing http://demoquiz-joomla.mouf-php.com
It is part of a wider demo, showcasing how to deploy on **same code** in many different environments.
The quiz code is stored in the [`thecodingmachine/quiz-module`](https://github.com/thecodingmachine/quiz-module) package.
It contains a [generic PSR-7 compatible controller](https://github.com/thecodingmachine/quiz-module/blob/master/src/Controllers/QuizController.php).
Using Mouf and a set of appropriate packages, the controller can then be deployed in a set of different environments:
- Mouf/Splash ([demo](http://demoquiz.mouf-php.com/)) ([code](https://github.com/thecodingmachine/quiz-demo-standalone))
- Wordpress ([demo](http://demoquiz-wordpress.mouf-php.com/)) ([code](https://github.com/thecodingmachine/quiz-demo-wordpress))
- Drupal 7 ([demo](http://demoquiz-drupal.mouf-php.com/)) ([code](https://github.com/thecodingmachine/quiz-demo-drupal))
- Joomla ([demo](http://demoquiz-joomla.mouf-php.com/)) ([code](https://github.com/thecodingmachine/quiz-demo-joomla))
- Magento ([demo](http://demoquiz-magento.mouf-php.com/)) ([code](https://github.com/thecodingmachine/quiz-demo-magento))
Installation
------------
- Clone the repository
- Browse to the website root directory and run Joomla install
- Set-up URL rewriting by copying `htaccess.txt` into `.htaccess`, and then configuring the `RewriteBase` setting into
`.htaccess` file
- Run `composer install`
- Browse to http://[your-website]/[path-to-joomla]/vendor/mouf/mouf and run Mouf install process
- Connect to Joomla administration http://[your-website]/[path-to-joomla]/administrator
- You are done!
- Now, simply browse to: http://[your-website]/[path-to-joomla]/quiz