Skip to content

rivertoday/ecmexample

Repository files navigation

ecmexample

An e-commercial system example

参考了两个示例

基于Django的电商网站开发高级

https://blog.csdn.net/hello2013zzy/article/details/79650167

https://github.com/ScrappyZhang/ecommerce_website_development

天天生鲜项目实战-思路 数据库设计

https://www.cnblogs.com/welan/p/9231530.html

https://github.com/weilanhanf/daily_fresh_demo

本项目启动说明

辅助程序安装

fastdfs: Ubuntu下FastDFS分布式文件系统配置与部署

https://blog.csdn.net/lswnew/article/details/79128794

关于fastdfs的client的python包的问题

默认的pip安装的requirements.txt里面的fastdfs的python client有问题,需要用本例提供的包替换一下

pip3 install fdfs_client-py-master.zip

redis: 高速缓存兼做任务队列

apt-get install redis-server

celery:异步任务处理

https://www.cnblogs.com/wdliu/p/9517535.html

启动

1、uwsgi配合nginx常规启动

2、虚拟环境下启动celery异步任务处理

celery worker -A celery_tasks -l debug

后台启动:

celery multi start w1 -A celery_tasks -l info

3、后台商品添加完毕后,需要执行如下命令重建商品索引以支持全文检索

python manage.py rebuild_index

About

An e-commercial system example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published