dlu / dlutwbootstrapdemo
ZF2 module to check & demonstrate the DluTwBootstrap module (Twitter Bootstrap UI - forms, navigation, etc.)
Requires
- php: >=5.3.3
- dlu/dlutwbootstrap: >=0.1.1
- zendframework/zendframework: >=2.0.5
This package is not auto-updated.
Last update: 2018-12-07 23:38:17 UTC
README
Introduction
The DluTwBootstrap Demo ZF2 module demonstrates the capabilities of the DluTwBootstrap module. The Demo shows the rendered output 'side by side' with the source code used the produce that output. It's the quickest way to get to grips with the module.
If you are new to DluTwBootstrap, first go to http://apps.zfdaily.com/dlutwbootstrap-demo to see it in action on-line.
Installation - manual
You need to have the DluTwBootstrap module installed!
- Go to your project's directory.
Clone this project into your
./vendor
directory as aDluTwBootstrapDemo
module:git clone https://bitbucket.org/dlu/dlutwbootstrap-demo.git ./vendor/DluTwBootstrapDemo
Follow the Post installation steps bellow
Installation - with Composer
- Go to your project's directory.
- Edit your
composer.json
file and add"dlu/dlutwbootstrapdemo": "dev-master"
intorequire
section. - Run
php composer.phar install
(orphp composer.phar update
). - Follow the Post installation steps bellow
Post installation steps
- Copy everything from the DluTwBootstrap and DluTwBootstrapDemo modules
public
directories to<your app>/public
. Enable the modules in your app config file
<your app>/config/application.config.php
:- add
'DluTwBootstrap',
undermodules
- add
'DluTwBootstrapDemo',
undermodules
- add
Check and Demo
Check that everything is working properly by going to the demo page:
http://<your-machine>/tw-bootstrap-demo
Explore the main menu to see the DluTwBootstrap module in action.
Uninstallation
You can keep the Demo module in your project's ./vendor/
directory even when the project is in production.
Just disable the Demo module in your ./config/application.config.php
. If you ever need to check anything in the Demo, just temporarily enable it.