Mercurial > kallithea
diff docs/contributing.rst @ 7099:1969f7dfb6b0
move package.json to root directory
In the future we'll probably use it to manage more then just less/css stuff.
So the less directory is the wrong place.
The most common place is the root directory, so lets put it there.
Also, this way the --prefix parameter for npm is no longer required.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Mon, 18 Dec 2017 22:20:10 +0100 |
parents | 6ef837acb0d2 |
children | 451b3f9d814e |
line wrap: on
line diff
--- a/docs/contributing.rst Wed Oct 19 20:02:33 2016 +0200 +++ b/docs/contributing.rst Mon Dec 18 22:20:10 2017 +0100 @@ -37,8 +37,8 @@ pip install --upgrade pip setuptools pip install --upgrade -e . pip install --upgrade -r dev_requirements.txt - npm --prefix kallithea/public/less install # install dependencies - both tools and data - npm --prefix kallithea/public/less run less # for generating css from less + npm install # install dependencies - both tools and data + npm run less # for generating css from less gearbox make-config my.ini gearbox setup-db -c my.ini --user=user --email=user@example.com --password=password --repos=/tmp gearbox serve -c my.ini --reload &