Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Philip Abbet <philip.abbet@idiap.ch>
- Loading branch information
0 parents
commit 3605890
Showing
137 changed files
with
41,812 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
The Data Jukebox Bundle is free software: | ||
you can redistribute it and/or modify it under the terms of the GNU General | ||
Public License as published by the Free Software Foundation, Version 3. | ||
|
||
The Data Jukebox Bundle is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
(LICENSE.TXT) for more details. | ||
|
||
The Data Jukebox Bundle includes all resources which contain the mention | ||
"Data Jukebox Bundle" in their preamble. | ||
|
||
Other resources are (and must be) used according to their original license, | ||
which is (should be made) available from their respective author. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
Data Jukebox Bundle | ||
=================== | ||
|
||
|
||
BUILD | ||
----- | ||
|
||
NOTE: By "build", we mean create the necessary tarballs/package required for | ||
installation (according to the INSTALL section below) or distribution. | ||
|
||
1. [MUST] Obtain the source tarball: | ||
|
||
$ git clone https://github.com/idiap/symfony-bundle-datajukebox | ||
|
||
OR | ||
|
||
$ tar -xjf symfony-bundle-datajukebox-source-%{VERSION}.tar.bz2 | ||
$ cd symfony-bundle-datajukebox-source-%{VERSION} | ||
|
||
2. [MAY] (Re-)build the source tarball: | ||
|
||
$ ./debian/rules build-source-tarball | ||
$ ls -al ../symfony-bundle-datajukebox-source-%{VERSION}.tar.bz2 | ||
|
||
3. [MAY] Build the installation tarball: | ||
|
||
$ ./debian/rules build-install-tarball | ||
$ ls -al ../symfony-bundle-datajukebox-%{VERSION}.tar.bz2 | ||
|
||
4. [MAY] Build the documentation tarball: | ||
|
||
$ ./debian/rules build-doc-tarball | ||
$ ls -al ../symfony-bundle-datajukebox-doc-%{VERSION}.tar.bz2 | ||
|
||
5. [MAY] Build the debian packages: | ||
|
||
$ debuild -us -uc -b | ||
$ ls -al ../symfony-bundle-datajukebox_%{VERSION}_all.deb ../symfony-bundle-datajukebox-doc_%{VERSION}_all.deb | ||
|
||
6. [MAY] Build the debian source package: | ||
|
||
$ debuild -I'.git*' -us -uc -S | ||
$ ls -al ../symfony-bundle-datajukebox_%{VERSION}.dsc ../symfony-bundle-datajukebox_%{VERSION}.tar.gz | ||
|
||
OR | ||
|
||
2-6. [SHOULD] Do it all with a single command | ||
|
||
$ ./debian/rules release | ||
|
||
|
||
INSTALL | ||
------- | ||
|
||
WARNING: | ||
The Data Jukebox Bundle is actively maintained on Linux. | ||
It has not been tested on other platforms. | ||
|
||
NOTE: | ||
We assume a previously working PHP/Symfony setup. | ||
|
||
1. [MUST] Install the Data Jukebox Bundle: | ||
|
||
a. using the installation tarball: | ||
|
||
$ INSTALL_DIR='<installation-directory>' | ||
$ cd "${INSTALL_DIR}" | ||
$ tar -xjf symfony-bundle-datajukebox-%{VERSION}.tar.bz2 | ||
|
||
OR | ||
|
||
b. using the debian package: | ||
|
||
$ dpkg -i symfony-bundle-datajukebox_%{VERSION}_all.deb | ||
|
||
2. [MAY] Install the Data Jukebox Bundle documentation: | ||
|
||
a. using the documentation tarball: | ||
|
||
$ DOC_DIR='<documentation-directory>' | ||
$ cd "${DOC_DIR}" | ||
$ tar -xjf symfony-bundle-datajukebox-doc-%{VERSION}.tar.bz2 | ||
|
||
OR | ||
|
||
b. using the debian package: | ||
|
||
$ dpkg -i symfony-bundle-datajukebox-doc_%{VERSION}_all.deb | ||
|
||
OR | ||
|
||
c. using the source tarball (and PhpDocumentor): | ||
|
||
$ DOC_DIR='<documentation-directory>' | ||
$ pear install -o PhpDocumentor | ||
$ tar -xjf symfony-bundle-datajukebox-source-%{VERSION}.tar.bz2 | ||
$ cd symfony-bundle-datajukebox-%{VERSION} | ||
$ ./doc/util/makedoc DataJukeboxBundle "PHP/Symfony Data Jukebox Bundle" "${DOC_DIR}" src doc/phpdoc | ||
|
||
|
||
USAGE | ||
----- | ||
|
||
The Data Jukebox Bundle integrates Symfony the same way as any other | ||
bundle. Thus, make sure to: | ||
- add the corresponding namespace to your application 'autoload.php' | ||
- instantiate the DataJukeboxBundle in your application 'AppKernel.php' | ||
- create/update all assets: | ||
$ ./app/console assets:install --symlink --relative <web-directory> | ||
- dump Assetic resources: | ||
$ ./app/console assetic:dump <web-directory> | ||
|
||
Also refer to the Data Jukebox Tutorial (and Bundle) for detailed explanations | ||
on how to use the Data Jukebox Bundle and unleash its full power. |
Oops, something went wrong.