mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Updated documentation
This commit is contained in:
parent
e4b1ddbd86
commit
08a57b8d6b
29
docs/en/compiling-front-end-files.md
Normal file
29
docs/en/compiling-front-end-files.md
Normal file
@ -0,0 +1,29 @@
|
||||
# Compiling Front-End Files
|
||||
|
||||
UserForms stylesheets are written in SASS, so to make changes you'll need to have Compass installed.
|
||||
|
||||
## Debian/Ubuntu
|
||||
|
||||
```sh
|
||||
$ apt-get update
|
||||
$ apt-get install ruby
|
||||
$ gem install compass
|
||||
```
|
||||
|
||||
## OSX
|
||||
|
||||
[Install homebrew](http://brew.sh). Then:
|
||||
|
||||
```sh
|
||||
$ brew update
|
||||
$ brew install ruby
|
||||
$ gem install compass
|
||||
```
|
||||
|
||||
## Compile assets
|
||||
|
||||
Make your changes to `scss/UserForms.scss` or `scss/UserForms_cms.scss`. Then navigate to the `userforms` folder and run:
|
||||
|
||||
```sh
|
||||
$ compass compile
|
||||
```
|
@ -27,6 +27,7 @@ and without getting involved in any PHP code.
|
||||
* [Installation instructions](installation)
|
||||
* [Troubleshooting](troubleshooting)
|
||||
* [User Documentation](user-documentation)
|
||||
* [Compiling Front-End Files](compiling-front-end-files)
|
||||
|
||||
## Thanks
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user