Skip to content

Commit a938697

Browse files
author
App Generator
committed
Added SCSS compilation scripts - Not fully tested
1 parent 11b4ba7 commit a938697

File tree

8 files changed

+15500
-25629
lines changed

8 files changed

+15500
-25629
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ _templates
2626
# javascript
2727
package-lock.json
2828
.vscode/symbols.json
29+
app/base/static/assets/node_modules
30+
app/base/static/assets/yarn.lock
31+
app/base/static/assets/.temp

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,47 @@ The *Home* blueprint handles UI Kit pages for authenticated users. This is the p
195195

196196
<br />
197197

198+
## Recompile CSS
199+
200+
To recompile the CSS from SCSS file follow this setup:
201+
202+
**Install tools**
203+
204+
- [NodeJS](https://nodejs.org/en/) 12.x or higher
205+
- Gulp - globally
206+
- `npm install -g gulp-cli`
207+
- [Yarn](https://yarnpkg.com/) (optional)
208+
209+
<br />
210+
211+
**Change the working directory** to `assets` folder
212+
213+
```bash
214+
$ cd app/base/static/assets
215+
```
216+
217+
<br />
218+
219+
**Install modules** - this will create a classic `node_modules` directory
220+
221+
```bash
222+
$ npm install
223+
// OR
224+
$ yarn
225+
```
226+
227+
<br />
228+
229+
**Edit & Recompile SCSS**
230+
231+
```bash
232+
$ gulp scss
233+
```
234+
235+
The generated file is saved in `static/assets/css` directory.
236+
237+
<br />
238+
198239
## Deployment
199240

200241
The app is provided with a basic configuration to be executed in [Docker](https://www.docker.com/), [Heroku](https://www.heroku.com/), [Gunicorn](https://gunicorn.org/), and [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/).

0 commit comments

Comments
 (0)