munim$ conda create -n django python=2.7 Fetching package metadata ........... Solving package specifications: . Package plan for installation in environment /Users/munim/anaconda3/envs/django: The following NEW packages will be INSTALLED: ca-certificates: 2017.08.26-ha1e5d58_0 certifi: 2017.7.27.1-py27h482ffc0_0 libcxx: 4.0.1-h579ed51_0 libcxxabi: 4.0.1-hebd6815_0 libedit: 3.1-hb4e282d_0 libffi: 3.2.1-h475c297_4 ncurses: 6.0-hd04f020_2 openssl: 1.0.2m-h86d3e6a_0 pip: 9.0.1-py27h1567d89_4 python: 2.7.14-h001abdc_23 readline: 7.0-hc1231fa_4 setuptools: 36.5.0-py27h2a45cec_0 sqlite: 3.20.1-h7e4c145_2 tk: 8.6.7-h35a86e2_3 wheel: 0.29.0-py27h84bd1c0_1 zlib: 1.2.11-hf3cbc9b_2 Proceed ([y]/n)? n Exiting munim$ conda create -n django python=2.7 django Fetching package metadata ........... Solving package specifications: . Package plan for installation in environment /Users/munim/anaconda3/envs/django: The following NEW packages will be INSTALLED: ca-certificates: 2017.08.26-ha1e5d58_0 certifi: 2017.7.27.1-py27h482ffc0_0 django: 1.11.3-py27_0 libcxx: 4.0.1-h579ed51_0 libcxxabi: 4.0.1-hebd6815_0 libedit: 3.1-hb4e282d_0 libffi: 3.2.1-h475c297_4 ncurses: 6.0-hd04f020_2 openssl: 1.0.2m-h86d3e6a_0 pip: 9.0.1-py27h1567d89_4 python: 2.7.14-h001abdc_23 pytz: 2017.2-py27hb891d23_1 readline: 7.0-hc1231fa_4 setuptools: 36.5.0-py27h2a45cec_0 sqlite: 3.20.1-h7e4c145_2 tk: 8.6.7-h35a86e2_3 wheel: 0.29.0-py27h84bd1c0_1 zlib: 1.2.11-hf3cbc9b_2 Proceed ([y]/n)? ca-certificate 100% |################################| Time: 0:00:00 823.75 kB/s libcxxabi-4.0. 100% |################################| Time: 0:00:00 932.96 kB/s tk-8.6.7-h35a8 100% |################################| Time: 0:00:06 516.08 kB/s zlib-1.2.11-hf 100% |################################| Time: 0:00:00 794.94 kB/s libcxx-4.0.1-h 100% |################################| Time: 0:00:01 883.57 kB/s openssl-1.0.2m 100% |################################| Time: 0:00:04 862.49 kB/s libffi-3.2.1-h 100% |################################| Time: 0:00:00 1.42 MB/s ncurses-6.0-hd 100% |################################| Time: 0:00:00 1.11 MB/s libedit-3.1-hb 100% |################################| Time: 0:00:00 888.17 kB/s readline-7.0-h 100% |################################| Time: 0:00:00 914.21 kB/s sqlite-3.20.1- 100% |################################| Time: 0:00:03 597.48 kB/s python-2.7.14- 100% |################################| Time: 0:00:15 796.67 kB/s certifi-2017.7 100% |################################| Time: 0:00:00 783.89 kB/s pytz-2017.2-py 100% |################################| Time: 0:00:00 581.84 kB/s django-1.11.3- 100% |################################| Time: 0:00:06 643.47 kB/s setuptools-36. 100% |################################| Time: 0:00:00 908.58 kB/s wheel-0.29.0-p 100% |################################| Time: 0:00:00 1.16 MB/s pip-9.0.1-py27 100% |################################| Time: 0:00:02 1.04 MB/s # # To activate this environment, use: # > source activate django # # To deactivate an active environment, use: # > source deactivate # munim$ source activate django (django) munim$ pip3 install djangorestframework Collecting djangorestframework Downloading djangorestframework-3.7.3-py2.py3-none-any.whl (1.5MB) 100% |████████████████████████████████| 1.5MB 865kB/s Installing collected packages: djangorestframework Successfully installed djangorestframework-3.7.3 (django) munim$ pip install djangorestframework-yaml Collecting djangorestframework-yaml Downloading djangorestframework_yaml-1.0.3-py2.py3-none-any.whl Collecting PyYAML>=3.10 (from djangorestframework-yaml) Downloading PyYAML-3.12.tar.gz (253kB) 100% |████████████████████████████████| 256kB 2.6MB/s Building wheels for collected packages: PyYAML Running setup.py bdist_wheel for PyYAML ... done Stored in directory: /Users/munim/Library/Caches/pip/wheels/2c/f7/79/13f3a12cd723892437c0cfbde1230ab4d82947ff7b3839a4fc Successfully built PyYAML Installing collected packages: PyYAML, djangorestframework-yaml Successfully installed PyYAML-3.12 djangorestframework-yaml-1.0.3 (django) munim$ pip install djangorestframework-xml Collecting djangorestframework-xml Downloading djangorestframework_xml-1.3.0-py2.py3-none-any.whl Collecting defusedxml>=0.3 (from djangorestframework-xml) Downloading defusedxml-0.5.0-py2.py3-none-any.whl Installing collected packages: defusedxml, djangorestframework-xml Successfully installed defusedxml-0.5.0 djangorestframework-xml-1.3.0 (django) munim$ pip install Pillow Collecting Pillow Downloading Pillow-4.3.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (3.5MB) 100% |████████████████████████████████| 3.6MB 355kB/s Collecting olefile (from Pillow) Using cached olefile-0.44.zip Building wheels for collected packages: olefile Running setup.py bdist_wheel for olefile ... done Stored in directory: /Users/munim/Library/Caches/pip/wheels/20/58/49/cc7bd00345397059149a10b0259ef38b867935ea2ecff99a9b Successfully built olefile Installing collected packages: olefile, Pillow Successfully installed Pillow-4.3.0 olefile-0.44 (django) munim$ pip install whitenoise Collecting whitenoise Downloading whitenoise-3.3.1-py2.py3-none-any.whl Installing collected packages: whitenoise Successfully installed whitenoise-3.3.1 (django) munim$ git clone https://github.com/rogargon/myrecommendations.git Cloning into 'myrecommendations'... remote: Counting objects: 623, done. remote: Total 623 (delta 0), reused 0 (delta 0), pack-reused 623 Receiving objects: 100% (623/623), 300.32 KiB | 334.00 KiB/s, done. Resolving deltas: 100% (384/384), done. (django) munim$ cd myrecommendations/ (django) :myrecommendations munim$ python manage.py runserver Performing system checks... System check identified no issues (0 silenced). You have 17 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, myrestaurants, sessions. Run 'python manage.py migrate' to apply them. November 13, 2017 - 10:55:34 Django version 1.11.3, using settings 'myrecommendations.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. |
Blog >