欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2/Agda, C++/Lisp/Haskell
Django-oscar
来自开放百科 - 灰狐
django-oscar:一个面向 Django 的网店和电子商务系统,New BSD 许可协议。
目录 |
指南
$ git clone https://github.com/django-oscar/django-oscar.git $ cd django-oscar $ sudo pip install virtualenv $ virtualenv oscar $ source ./oscar/bin/activate (oscar) $ make sandbox (oscar) $ sites/sandbox/manage.py runserver 192.168.33.10:8000 http://192.168.33.10:8000 username: superuser email: [email protected] password: testing
可能出现的错误:decoder jpeg not available,解决方法:
rm -rf /usr/lib64/python2.7/site-packages/PIL rm /usr/lib64/python2.7/site-packages/PIL.pth yum install libjpeg yum install libjpeg-devel yum install freetype yum install freetype-devel tar xf Imaging-1.1.7.tar.gz python setup.py install
同时还有 {% thumbnail image.original "x155" upscale=False as thumb %} 错误
在OS X下可能是这个错误,*** uWSGI linking ***,Failed building wheel for uWSGI,可试着解决:
brew install uwsgi --with-python --with-python3
解决方案
django-oscar是个完整的电子商务解决方案:
- 电商网站:django-oscar
- RESTful API:django-oscar-api
- PayPal支付:django-oscar-paypal
- Stripe移动支付:django-oscar-stripe
- 实体店整合:django-oscar-stores
- 账号系统:django-oscar-accounts
用户
图集
链接
分享您的观点