Show More
@@ -19,8 +19,7 b' include kallithea/bin/ldap_syn' | |||||
19 | include kallithea/lib/paster_commands/template.ini.mako |
|
19 | include kallithea/lib/paster_commands/template.ini.mako | |
20 | recursive-include kallithea/i18n * |
|
20 | recursive-include kallithea/i18n * | |
21 | recursive-include kallithea/public * |
|
21 | recursive-include kallithea/public * | |
22 | prune kallithea/public/less/node_modules |
|
22 | recursive-include node_modules/bootstrap * | |
23 | recursive-include kallithea/public/less/node_modules/bootstrap * |
|
|||
24 | recursive-include kallithea/templates * |
|
23 | recursive-include kallithea/templates * | |
25 | recursive-include kallithea/tests/fixtures * |
|
24 | recursive-include kallithea/tests/fixtures * | |
26 | recursive-include kallithea/tests/scripts * |
|
25 | recursive-include kallithea/tests/scripts * |
@@ -37,8 +37,8 b' To get started with Kallithea developmen' | |||||
37 | pip install --upgrade pip setuptools |
|
37 | pip install --upgrade pip setuptools | |
38 | pip install --upgrade -e . |
|
38 | pip install --upgrade -e . | |
39 | pip install --upgrade -r dev_requirements.txt |
|
39 | pip install --upgrade -r dev_requirements.txt | |
40 |
npm |
|
40 | npm install # install dependencies - both tools and data | |
41 |
npm |
|
41 | npm run less # for generating css from less | |
42 | gearbox make-config my.ini |
|
42 | gearbox make-config my.ini | |
43 | gearbox setup-db -c my.ini --user=user --email=user@example.com --password=password --repos=/tmp |
|
43 | gearbox setup-db -c my.ini --user=user --email=user@example.com --password=password --repos=/tmp | |
44 | gearbox serve -c my.ini --reload & |
|
44 | gearbox serve -c my.ini --reload & |
@@ -17,8 +17,8 b' Find the right ``kallithea/public/less``' | |||||
17 |
|
17 | |||
18 | Then run:: |
|
18 | Then run:: | |
19 |
|
19 | |||
20 | npm --prefix kallithea/public/less install |
|
20 | npm install | |
21 | npm --prefix kallithea/public/less run less |
|
21 | npm run less | |
22 |
|
22 | |||
23 |
|
23 | |||
24 | Setting up Kallithea |
|
24 | Setting up Kallithea |
@@ -96,8 +96,8 b' Find the right ``kallithea/public/less``' | |||||
96 |
|
96 | |||
97 | Then run:: |
|
97 | Then run:: | |
98 |
|
98 | |||
99 | npm --prefix kallithea/public/less install |
|
99 | npm install | |
100 | npm --prefix kallithea/public/less run less |
|
100 | npm run less | |
101 |
|
101 | |||
102 |
|
102 | |||
103 | 5. Upgrade your configuration |
|
103 | 5. Upgrade your configuration |
@@ -3,8 +3,8 b'' | |||||
3 | * |
|
3 | * | |
4 | * Instead, edit the less file(s) and regenerate the css: |
|
4 | * Instead, edit the less file(s) and regenerate the css: | |
5 | * |
|
5 | * | |
6 | * npm --prefix kallithea/public/less install |
|
6 | * npm install | |
7 | * npm --prefix kallithea/public/less run less |
|
7 | * npm run less | |
8 | * |
|
8 | * | |
9 | */ |
|
9 | */ | |
10 |
|
10 |
@@ -9,6 +9,6 b'' | |||||
9 | "less-plugin-clean-css": "~1.5" |
|
9 | "less-plugin-clean-css": "~1.5" | |
10 | }, |
|
10 | }, | |
11 | "scripts": { |
|
11 | "scripts": { | |
12 |
"less": "lessc --relative-urls main.less |
|
12 | "less": "lessc --relative-urls kallithea/public/less/main.less kallithea/public/css/style.css" | |
13 | } |
|
13 | } | |
14 | } |
|
14 | } |
General Comments 0
You need to be logged in to leave comments.
Login now