Skip to content

Commit bab5a9b

Browse files
committed
Merge pull request #28 from jdecool/doc-installation-precision
Update installation doc
2 parents fde9126 + 37d18b0 commit bab5a9b

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

Resources/doc/01-installation.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,28 @@
55
Simply run assuming you have installed composer (composer.phar or composer binary) :
66

77
``` bash
8-
$ php composer.phar require novaway/filemanagementbundle 1.*
8+
$ php composer.phar require novaway/filemanagementbundle "2.*"
99
```
1010

1111
### Configuration
1212

13-
In your *config.yml* file, you may need to set up the upload root path (realtive to symfony *web* path)
13+
Register the bundle in `app/AppKernel.php`:
14+
15+
``` php
16+
// app/AppKernel.php
17+
public function registerBundles()
18+
{
19+
return array(
20+
// ...
21+
new \Novaway\Bundle\FileManagementBundle\NovawayFileManagementBundle(),
22+
);
23+
}
24+
```
25+
26+
In your *app/config.yml* file, you may need to set up the upload root path (relative to symfony *web* path)
1427

1528
```yaml
1629
novaway_file_management :
1730
web_file_path: /uploads/
1831
```
19-
> **Note** : The *web* path will be used as upload root path if this parameter is not provided.
32+
> **Note** : The *web* path will be used as upload root path if this parameter is not provided.

0 commit comments

Comments
 (0)