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
The quickstart created five files and one new directory:
166
167
167
-
*`Makefile`: Make convenience tasks for common operations such as running a
168
-
development server, building a site and cleaning extraneous build files
169
-
*`develop_server.sh`
170
-
*`pelicanconf.py`
171
-
*`fabfile.py`
172
-
*`publishconf.py`
168
+
*`Makefile`: `make` command convenience tasks for common operations such as
169
+
running a development server, building a site and cleaning extraneous
170
+
build files
171
+
*`fabfile.py`: A Fabric file that has some of the same types of commands
172
+
as the `Makefile`. Fabric is a wonderful code library but for now I
173
+
recommend skipping the Fabric file because unfortunately Fabric does not
174
+
yet support Python 3.
175
+
*`develop_server.sh`: shell script for running the development server
176
+
*`pelicanconf.py`: settings file for your Pelican project. If you are used
177
+
to earlier versions of Pelican this file was instead named `settings.py`
178
+
*`publishconf.py`: another (optional) settings file that can be considered
179
+
as a "production" settings file when you move past the development phase
180
+
and want to deploy your site
173
181
*`content`: location for your markup files, which should be stored under
174
182
`pages` and `posts` directories
175
183
@@ -187,6 +195,28 @@ browser and you will see the first version of your static site.
187
195
188
196
<imgsrc="/img/170605-static-sites-pelican/default-style.png"width="100%"class="technical-diagram img-rounded"style="border:1pxsolid#ccc"alt="Default styling on the Pelican static site.">
189
197
198
+
If you want to kill the development server, Pelican creates a file named
199
+
`pelican.pid` under your project directory with the development server's
200
+
process ID.
201
+
202
+
```
203
+
(staticsite) $ cat pelican.pid
204
+
1365
205
+
```
206
+
207
+
Use the `ps` and `grep` commands to view the process then stop the process
208
+
with the `kill` command as follows. Remember that your process ID will almost
209
+
definitely be different from the `1365` ID for my process.
0 commit comments