You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Django bootstrapper `manage.py` uses `core/settings.py` as the main configuration file
137
+
-`core/settings.py` loads the app magic from `.env` file
138
+
- Redirect the guest users to Login page
139
+
- Unlock the pages served by *app* node for authenticated users
140
+
141
+
<br />
142
+
143
+
## Recompile CSS
144
+
145
+
To recompile SCSS files, follow this setup:
146
+
147
+
<br />
148
+
149
+
**Step #1** - Install tools
150
+
151
+
-[NodeJS](https://nodejs.org/en/) 12.x or higher
152
+
-[Gulp](https://gulpjs.com/) - globally
153
+
-`npm install -g gulp-cli`
154
+
-[Yarn](https://yarnpkg.com/) (optional)
155
+
156
+
<br />
157
+
158
+
**Step #2** - Change the working directory to `assets` folder
159
+
160
+
```bash
161
+
$ cd apps/static/assets
162
+
```
163
+
164
+
<br />
165
+
166
+
**Step #3** - Install modules (this will create a classic `node_modules` directory)
167
+
168
+
```bash
169
+
$ npm install
170
+
// OR
171
+
$ yarn
172
+
```
173
+
174
+
<br />
175
+
176
+
**Step #4** - Edit & Recompile SCSS files
177
+
178
+
```bash
179
+
$ gulp scss
180
+
```
181
+
182
+
The generated file is saved in `static/assets/css` directory.
183
+
184
+
<br />
185
+
76
186
## Deployment
77
187
78
188
The app is provided with a basic configuration to be executed in [Docker](https://www.docker.com/), [Gunicorn](https://gunicorn.org/), and [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/).
@@ -85,8 +195,8 @@ The application can be easily executed in a docker container. The steps:
0 commit comments