Django-oscar

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(指南)
(解决方案)
 
第38行: 第38行:
 
*实体店整合:[https://github.com/django-oscar/django-oscar-stores django-oscar-stores]
 
*实体店整合:[https://github.com/django-oscar/django-oscar-stores django-oscar-stores]
 
*账号系统:[https://github.com/django-oscar/django-oscar-accounts django-oscar-accounts]
 
*账号系统:[https://github.com/django-oscar/django-oscar-accounts django-oscar-accounts]
 +
 +
==用户==
 +
*[[edX]]
  
 
==图集==
 
==图集==

2017年7月25日 (二) 07:30的最后版本

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 %} 错误

参考:Thumbnails for Django

在OS X下可能是这个错误,*** uWSGI linking ***,Failed building wheel for uWSGI,可试着解决:

brew install uwsgi --with-python --with-python3

更多安装细节

[编辑] 解决方案

django-oscar是个完整的电子商务解决方案:

[编辑] 用户

[编辑] 图集

[编辑] 链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱