RESTful api for grocery app using Django Rest Framework.
https://github.com/tko22/celery_box_ios is the repo for the IOS app
Note: we will move this repository to a separate user when we figure out a name
We will create a virtual environment to evade conflicting dependencies:
pip install virtualenvwrapper
Then, put the following lines in your bash startup file(.zshrc, .bashrc, .profile, etc):
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/directory-you-do-development-in
source /usr/local/bin/virtualenvwrapper.sh
Create the environment:
mkdir -p ~/groceryapp && cd ~/groceryapp
mkvirtualenv groceryenv
Your shell should now be prepended with a (groceryenv). (your environment can be any name, not just "groceryenv")
To exit environment, type: deactivate.
To startup environment, type: workon groceryenv
Now we need to install django and the django rest framework:
pip install django
pip install djangorestframework
pip install markdown
Now confirm whether you have installed django:
which django-admin.py
The last step is to clone this repository(I will need your .ssh public key first though)
git clone https://github.com/shuang98/grocery-api.git