Skip to content

Commit 487a423

Browse files
author
Mike Taylor
authored
Merge pull request #1322 from /issues/1317/1
Fixes #1317 - install packages in virtualenv
2 parents fad0b69 + 81d85a0 commit 487a423

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ cd webcompat.com
247247
# check out submodules
248248
npm run module
249249
# initializing project
250-
[sudo] npm run init
250+
[sudo] npm run setup
251251
```
252252
253253
**Note**: if you got an error message, you may need to [install pip](#installing-pip) before running `make install` again.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
"suitcss-utils-display": "^0.4.0"
4141
},
4242
"scripts": {
43-
"init": "npm run module && npm run virtualenv && npm run pip && npm install && npm run config",
43+
"setup": "npm run module && npm run virtualenv && npm install && npm run config",
4444
"watch" : "grunt watch",
4545
"build": "grunt",
4646
"module": "git submodule init && git submodule update",
4747
"start": "source env/bin/activate && python run.py",
48-
"virtualenv" : "pip install virtualenv && virtualenv env && source env/bin/activate",
48+
"virtualenv" : "pip install virtualenv && virtualenv env && source env/bin/activate && npm run pip",
4949
"pip": "pip install -r config/requirements.txt",
5050
"config": "cp config/secrets.py.example config/secrets.py",
5151
"project-update": "pip install --upgrade pip && npm run backend-install && npm update"

0 commit comments

Comments
 (0)