systers / macc

Server side support platform for Peace Corps mobile applications.
http://macc.systers.org/
9 stars 51 forks source link

Modify the installation guide for a local machine #222

Closed alessbn closed 7 years ago

alessbn commented 7 years ago
muddlebee commented 7 years ago

@alessbn ssbn there ain't any necessity to change readme for your 1st point as it is universal for all linux OSes. And no need to remove sudo as you can just create a virtual environment using virtualenv "environment name" and use it accordingly everytime.

alessbn commented 7 years ago

@anweshknayak thank you for your observation, I forgot to specify in which case, running pip install command using sudo for requirements.txt, by doing this the dependencies will not be installed on the virtual environment, for installing the dependencies on the virtual environment you only need pip install command

muddlebee commented 7 years ago

pip install -r requirements.txt should do right. and sudo it is not the issue here. It's with the permission settings of your own Linux Machine. You can change it accordingly to the $USER in your bash profile or whichever you are using.