Add composer install reference.

This commit is contained in:
Will Rossiter 2014-03-17 22:34:10 +13:00
parent 45e4b1c037
commit 6937d65a07
1 changed files with 16 additions and 3 deletions

View File

@ -27,12 +27,25 @@ and without getting involved in any PHP code.
## Installation
### Via composer
```
composer require "silverstripe/silverstripe-userforms:dev-master"
```
### Manually
1. Download the module from the link above.
2. Extract the file (if you are on windows try 7-zip for extracting tar.gz files
3. Make sure the folder after being extracted is named 'userforms'
4. Place this directory in your sites root directory. This is the one with framework and cms in it.
5. Run in your browser - `/dev/build` to rebuild the database.
6. You should see a new PageType in the CMS 'User Defined Form'. This has a new 'Form' tab which has your form builder.
After installation, make sure you rebuild your database through `dev/build`. You should see a new PageType in the CMS 'User Defined Form'. This has a new 'Form' tab which has your form builder.
## Troubleshooting
After installation make sure you have done a `dev/build` you may also need to flush the admin view by appending `?flush=1` to the URL like `http://yoursite.com/admin?flush=1`
## Tasks
@ -62,4 +75,4 @@ the custom icon set for the form fields.
Translations of the natural language strings are managed through a third party translation interface, transifex.com. Newly added strings will be periodically uploaded there for translation, and any new translations will be merged back to the project source code.
Please use [https://www.transifex.com/projects/p/silverstripe-userforms](https://www.transifex.com/projects/p/silverstripe-userforms) to contribute translations, rather than sending pull requests with YAML files.
Please use [https://www.transifex.com/projects/p/silverstripe-userforms](https://www.transifex.com/projects/p/silverstripe-userforms) to contribute translations, rather than sending pull requests with YAML files.