Skip to content
Newer
Older
100644 54 lines (31 sloc) 1.47 KB
efcc5b8 @camfindlay DOCS Update the installation doc
camfindlay authored May 4, 2014
1 # Installation
d791f57 APICHANGE: Refactored forum posts to use a single forum thread as the…
Will Rossiter authored Feb 14, 2010
2
efcc5b8 @camfindlay DOCS Update the installation doc
camfindlay authored May 4, 2014
3 ##Composer (recommended)
d791f57 APICHANGE: Refactored forum posts to use a single forum thread as the…
Will Rossiter authored Feb 14, 2010
4
efcc5b8 @camfindlay DOCS Update the installation doc
camfindlay authored May 4, 2014
5 Run the following [composer](http://doc.silverstripe.org/framework/en/installation/composer) command in a terminal
d791f57 APICHANGE: Refactored forum posts to use a single forum thread as the…
Will Rossiter authored Feb 14, 2010
6
efcc5b8 @camfindlay DOCS Update the installation doc
camfindlay authored May 4, 2014
7 ```
8 composer require silverstripe/forum dev-master
9 ```
d791f57 APICHANGE: Refactored forum posts to use a single forum thread as the…
Will Rossiter authored Feb 14, 2010
10
efcc5b8 @camfindlay DOCS Update the installation doc
camfindlay authored May 4, 2014
11 Alternatively, you can edit the projects composer.json file to require the module dependency.
d791f57 APICHANGE: Refactored forum posts to use a single forum thread as the…
Will Rossiter authored Feb 14, 2010
12
efcc5b8 @camfindlay DOCS Update the installation doc
camfindlay authored May 4, 2014
13 ```
14 "require": {
15 "silverstripe/forum": "dev-master"
16 }
17 ```
18
19 Run a composer update in your terminal to get the files and automatically put them in the correct place.
20
21 ```
22 composer update
23 ```
24
25 Rebuild your database (see below).
26
27 ## Manual directory placement
28
29 Place this directory in the root of your SilverStripe installation.
30
31 Make sure it is named forum and not forum-v2 or any other combination.
32
33 Rebuild your database (see below).
34
35
36 ## Rebuild database
37
5ccc808 @camfindlay DOCS fix typo
camfindlay authored May 4, 2014
38 Visit http://www.yoursite.com/dev/build/ in your browser or via the SilverStripe command line tool, [sake](http://doc.silverstripe.org/framework/en/topics/commandline)
efcc5b8 @camfindlay DOCS Update the installation doc
camfindlay authored May 4, 2014
39
40 ```
41 sake dev/build flush=1
42 ```
43
44 The CMS should now have "Forum Holder" and "Forum" page types in the page type dropdown. By default SilverStripe will create
45 a default forum and a forum holder.
46
47 You should make sure each ForumHolder page type only has Forum children and each Forum has it's parent as a forum holder. Eg not nested in another forum.
48
49 The module supports multiple Forum Holders, each with their own permissions and multiple Forums.
50
51
52 For more information on setting up the forums see the [configuration documentation](Configuration.md)
53
Something went wrong with that request. Please try again.