node dependencies can be added from make file

This commit is contained in:
Roberto Beltran 2021-05-11 15:14:00 -04:00
parent ec45a0992c
commit 12cc7f03f8
1 changed files with 8 additions and 4 deletions

View File

@ -10,17 +10,21 @@ A privacy-respecting, hackable [metasearch engine](https://en.wikipedia.org/wiki
## Dependencies
You need virtualenv and less with the clean-css plugin
You need npm, see [our tutorial](https://libremiami.org/how-to-install-npm-and-node/) if you need help.
You need pip and virtualenv
```
sudo apt install python3-pip # on debian, trisquel
pip install virtualenv
```
Install node dependencies
```
npm install less less-plugin-clean-css
make node.env
```
Then the makefile works
Then you can then prepare the themes and run the dev environment as needed
```
make themes
make run
```
```