Last active
March 6, 2016 08:11
-
-
Save whhsw/9444349 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install Homebrew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # Install python (& pip) | |
| brew install python; | |
| pip install virtualenv; | |
| #clone the repo | |
| cd ~; | |
| git clone git@github.com:Geniushjs/LintCode.git; | |
| cd LintCode; | |
| # Create Virtual environment: | |
| virtualenv env; | |
| # Activate the environment | |
| . env/bin/activate; | |
| # Install necessary packages | |
| pip install -r requirements.txt | |
| # You are all set at this point. | |
| Add . env/bin/activate; to your bash_profile alias, so that next time you can easily start env; | |
| Mine is: alias lintcode="cd ~/LintCode;. env/bin/activate" | |
| You should be able to do python manage.py runserver; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment