|
|
6 years ago | |
|---|---|---|
| .github | 6 years ago | |
| assets | 6 years ago | |
| backup | 6 years ago | |
| bin | 6 years ago | |
| images | 6 years ago | |
| node_modules | 6 years ago | |
| system | 6 years ago | |
| tmp | 6 years ago | |
| user | 6 years ago | |
| vendor | 6 years ago | |
| webserver-configs | 6 years ago | |
| .gitignore | 6 years ago | |
| .htaccess | 6 years ago | |
| CHANGELOG.md | 6 years ago | |
| README.md | 6 years ago | |
| composer.json | 6 years ago | |
| composer.lock | 6 years ago | |
| index.php | 6 years ago | |
| now.json | 6 years ago | |
| package-lock.json | 6 years ago | |
| package.json | 6 years ago | |
| robots.txt | 6 years ago | |
| yarn.lock | 6 years ago | |
README.md
Grav
Grav is a Fast, Simple, and Flexible, file-based Web-platform. The underlying architecture of Grav is designed to use well-established and best-in-class technologies to ensure that Grav is simple to use and easy to extend. Some of these key technologies include:
-
Twig Templating: for powerful control of the user interface
-
Markdown: for easy content creation
-
YAML: for simple configuration
-
Have a look at the Grav Basic Tutorial
See also:
- Parsedown: for fast Markdown and Markdown Extra support
- Doctrine Cache: layer for performance
- Pimple Dependency Injection Container: for extensibility and maintainability
- Symfony Event Dispatcher: for plugin event handling
- Symfony Console: for CLI interface
- Gregwar Image Library: for dynamic image manipulation
Adding Functionality
$ bin/gpm index
This will display all the available plugins and then you can install one or more with:
$ bin/gpm install <plugin/theme>
Updating
To update Grav you should use the Grav Package Manager or GPM:
$ bin/gpm selfupgrade
To update plugins and themes:
$ bin/gpm update
Running Tests
First install the dev dependencies by running composer update from the Grav root.
Then composer test will run the Unit Tests, which should be always executed successfully on any site.
Windows users should use the composer test-windows command.
You can also run a single unit test file, e.g. composer test tests/unit/Grav/Common/AssetsTest.php