Skip to content

Commit

Permalink
Rename theme folder information
Browse files Browse the repository at this point in the history
  • Loading branch information
eolant committed Apr 3, 2018
1 parent 057570a commit 63c230f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SilverStripe Bootstrap Mix
This theme utilizes Laravel Mix - Webpack wrapper for building assets and makes it easy to focus on the development. By default it uses Bootstrap 4 but you are free to use anything else. You can also use Stylus instead of SASS if you like. Please refer Laravel Mix documentation [here](https://github.com/JeffreyWay/laravel-mix).
This theme utilizes Laravel Mix for building assets and makes it easy to focus on the development.

## Installation

Expand All @@ -18,4 +18,15 @@ composer require eolant/silverstripe-bootstrap-mix

###### Please refer `package.json` for all commands.

## Renaming theme

If you want to rename the theme, make sure to create links to `javascript`, `css`, `images` directories
You can execute following commands from theme's directory (replace `silverstripe-bootstrap-mix` with the new name):

```
rm -rf $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
mkdir $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
ln -s $(pwd)/javascript $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
ln -s $(pwd)/css $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
ln -s $(pwd)/images $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
```

0 comments on commit 63c230f

Please sign in to comment.