- cd into sprout-backend
- create a virtualenv for the project from PyCharm > Preferences > Project Interpreter > Python Interpreters.
- activate your new virtualenv in the PyCharm terminal
- run terminal command
sudo pip install -r requirements/dev.txt
-- enter your password for the computer - create a Django run configuration in PyCharm
- cd into sprout-frontend
- run terminal command
npm install
- run terminal command
bower install
-- if your terminal complains about bower not being installed, runnpm install -g bower
and then runbower install
- create a Node.js run configuration in PyCharm
You must be using git-bash for the following setup.
- cd into sprout-backend
- create a virtualenv for the project from PyCharm > Preferences > Project Interpreter > Python Interpreters.
- activate your new virtualenv in the git-bash terminal.
-- to do this, note the path that your new virtualenv was created in and source the activate script. It will be something like
source C:/Users/*your_username*/.virtualenvs/sprout/Scripts/activate
- run terminal command
pip install -r requirements/dev.txt
- create a Django run configuration in PyCharm
- cd into sprout-frontend
- run terminal command
npm install
-- npm install may complain after it's done doing its thing on Windows. Ignoring it is fine because step 8 will make sure that it will complete the install. - run terminal command
bower install
-- if your terminal complains about bower not being installed, runnpm install -g bower
and then runbower install
- create a Node.js run configuration in PyCharm