Skip to content

Commit 6c2999f

Browse files
author
App Generator
committed
New Section - Recompile CSS
1 parent 79057a0 commit 6c2999f

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,49 @@ The project has a super simple structure, represented as bellow:
113113

114114
<br />
115115

116+
## Recompile CSS
117+
118+
To recompile SCSS files, follow this setup:
119+
120+
<br />
121+
122+
**Step #1** - Install tools
123+
124+
- [NodeJS](https://nodejs.org/en/) 12.x or higher
125+
- [Gulp](https://gulpjs.com/) - globally
126+
- `npm install -g gulp-cli`
127+
- [Yarn](https://yarnpkg.com/) (optional)
128+
129+
<br />
130+
131+
**Step #2** - Change the working directory to `assets` folder
132+
133+
```bash
134+
$ cd app/base/static/assets
135+
```
136+
137+
<br />
138+
139+
**Step #3** - Install modules (this will create a classic `node_modules` directory)
140+
141+
```bash
142+
$ npm install
143+
// OR
144+
$ yarn
145+
```
146+
147+
<br />
148+
149+
**Step #4** - Edit & Recompile SCSS files
150+
151+
```bash
152+
$ gulp scss
153+
```
154+
155+
The generated file is saved in `static/assets/css` directory.
156+
157+
<br />
158+
116159
## Deployment
117160

118161
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)