Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/garak/pugxgeneratorbundlesandbox
A sandbox for PUGXGeneratorBundle
https://github.com/garak/pugxgeneratorbundlesandbox
Last synced: about 1 month ago
JSON representation
A sandbox for PUGXGeneratorBundle
- Host: GitHub
- URL: https://github.com/garak/pugxgeneratorbundlesandbox
- Owner: garak
- Created: 2013-11-10T09:37:56.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-17T11:46:15.000Z (about 10 years ago)
- Last Synced: 2024-10-13T04:53:12.578Z (2 months ago)
- Language: PHP
- Size: 512 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PUGXGeneratorBundle sandbox
===========================A sandbox for [PUGXGeneratorBundle](https://github.com/PUGX/PUGXGeneratorBundle).
Screenshots
-----------(click for fullscreen images)
[![list with sorting details](https://raw.github.com/garak/PUGXGeneratorBundleSandbox/master/src/Garak/SandboxBundle/Resources/public/images/thumbnails/list1.png)](https://raw.github.com/garak/PUGXGeneratorBundleSandbox/master/src/Garak/SandboxBundle/Resources/public/images/screenshots/list1.png "List with sorting details")
[![list with pagination details](https://raw.github.com/garak/PUGXGeneratorBundleSandbox/master/src/Garak/SandboxBundle/Resources/public/images/thumbnails/list2.png)](https://raw.github.com/garak/PUGXGeneratorBundleSandbox/master/src/Garak/SandboxBundle/Resources/public/images/screenshots/list2.png "List with pagination details")
[![list with open filters](https://raw.github.com/garak/PUGXGeneratorBundleSandbox/master/src/Garak/SandboxBundle/Resources/public/images/thumbnails/filters.png)](https://raw.github.com/garak/PUGXGeneratorBundleSandbox/master/src/Garak/SandboxBundle/Resources/public/images/screenshots/filters.png "List with open filters")
[![show](https://raw.github.com/garak/PUGXGeneratorBundleSandbox/master/src/Garak/SandboxBundle/Resources/public/images/thumbnails/show.png)](https://raw.github.com/garak/PUGXGeneratorBundleSandbox/master/src/Garak/SandboxBundle/Resources/public/images/screenshots/show.png "Show")
[![edit](https://raw.github.com/garak/PUGXGeneratorBundleSandbox/master/src/Garak/SandboxBundle/Resources/public/images/thumbnails/edit.png)](https://raw.github.com/garak/PUGXGeneratorBundleSandbox/master/src/Garak/SandboxBundle/Resources/public/images/screenshots/edit.png "Edit")Setup
-----* Clone this repo
* run ``composer install``
* run ``app/console doctrine:database:create``
* run ``app/console doctrine:schema:update --force``
* run ``app/console doctrine:fixtures:load --no-interaction``
* Edit ``vendor/components/font-awesome/less/variables.less`` to point ``@fa-font-path``
to ``/fonts`` (instead of ``../fonts``).If you find a more elegant solution for last point, feel free to open a Pull Request.
Creating instructions
---------------------This project has been created following instructions of [PUGXGeneratorBundle](https://github.com/PUGX/PUGXGeneratorBundle).
Details of commands used:
``` bash
$ php app/console doctrine:generate:entity --no-interaction \
--entity=GarakSandboxBundle:User \
--fields="firstName:string(255) lastName:string(255) email:string(255) \
active:boolean lastLogin:datetime birthday:date"
`````` bash
$ php app/console pugx:generate:crud \
--entity=GarakSandboxBundle:User \
--layout=GarakSandboxBundle::layout.html.twig \
--theme=GarakSandboxBundle:Form:theme.html.twig \
--with-write --with-filter --with-sort --use-paginator \
--no-interaction
`````` bash
$ php app/console faker:populate
```