Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1317 - install packages in virtualenv #1322

Merged
merged 2 commits into from
Feb 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ cd webcompat.com
# check out submodules
npm run module
# initializing project
[sudo] npm run init
[sudo] npm run setup
```

**Note**: if you got an error message, you may need to [install pip](#installing-pip) before running `make install` again.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
"suitcss-utils-display": "^0.4.0"
},
"scripts": {
"init": "npm run module && npm run virtualenv && npm run pip && npm install && npm run config",
"setup": "npm run module && npm run virtualenv && npm install && npm run config",

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

"watch" : "grunt watch",
"build": "grunt",
"module": "git submodule init && git submodule update",
"start": "source env/bin/activate && python run.py",
"virtualenv" : "pip install virtualenv && virtualenv env && source env/bin/activate",
"virtualenv" : "pip install virtualenv && virtualenv env && source env/bin/activate && npm run pip",
"pip": "pip install -r config/requirements.txt",
"config": "cp config/secrets.py.example config/secrets.py",
"project-update": "pip install --upgrade pip && npm run backend-install && npm update"
Expand Down