2020-05-06 19:31:25 +02:00
|
|
|
# Blog
|
|
|
|
My personal blog.
|
|
|
|
|
|
|
|
## Development
|
|
|
|
### Requirements
|
|
|
|
* [npm](https://www.npmjs.com/)
|
|
|
|
|
|
|
|
### Setting up
|
|
|
|
```shell script
|
|
|
|
# Install dependencies (only needed once)
|
|
|
|
$> npm ci
|
|
|
|
```
|
|
|
|
|
|
|
|
### Building
|
|
|
|
```shell script
|
|
|
|
# Build the blog in `dist/` for development
|
|
|
|
$> npm run dev
|
|
|
|
# Build the blog in `dist/` for deployment
|
|
|
|
$> npm run deploy
|
|
|
|
```
|
|
|
|
|
|
|
|
You may need to change the `pathprefix` option of Eleventy when using WebStorm so that the root of the blog is changed
|
2021-05-08 16:13:09 +02:00
|
|
|
to `/blog/dist/` instead of `/blog/`.
|