add development Section

This commit is contained in:
Nicco Kunzmann 2022-04-30 08:53:00 +00:00
parent f3508848d8
commit bca9d5ed20
2 changed files with 8 additions and 1 deletions

View File

@ -63,6 +63,8 @@ port it listens on.
You do not need it for small fixes.
4. run `npm start`
## Development
If you want automatic reloading of files during development,
you can install `nodemon`:
```
@ -73,6 +75,12 @@ Run it:
nodemon index.js --watch lib
```
To generate the layout, install `node-sass`.
Then, run
```
node build-styles.js
```
## Improve me
Feel free to add a caching layer, improve the styles

View File

@ -18,7 +18,6 @@
"build-styles": "node build-styles.js"
},
"devDependencies": {
"node-sass": "^4.12.0"
},
"keywords": [
"mastodon",