gp喜爱的产品:GP喜爱的产品

时间:2021-02-15 12:18:39
【文件属性】:
文件名称:gp喜爱的产品:GP喜爱的产品
文件大小:40KB
文件格式:ZIP
更新时间:2021-02-15 12:18:39
Python GP最爱产品 先决条件:: Python 3.8和PyPI Postgres数据库 使用virtualenv安装 下载此存储库的源代码 git clone git@github.com:gilsonbp/gp-favorite-products.git 创建一个新的VirtualEnv: 访问项目文件夹并执行以下命令: python -m venv .venv 在安装项目依赖项之前切换到虚拟环境: source .venv/bin/activate 安装依赖项: pip install -r requirements.txt 将local.env文件复制到.env并建立与数据库的连接,然后输入secret_key: cp local.env .env 执行迁移: python manage.py migrate 执行测试 ./tests.sh 启动服务器:
【文件预览】:
gp-favorite-products-master
----gpfavoriteproducts()
--------factories.py(1KB)
--------wsgi.py(413B)
--------__init__.py(0B)
--------settings.py(4KB)
--------asgi.py(413B)
--------urls.py(2KB)
----pyproject.toml(321B)
----LICENSE(34KB)
----local.env(181B)
----tests.sh(383B)
----requirements.txt(625B)
----manage.py(674B)
----.gitignore(1KB)
----README.md(896B)
----apps()
--------favorites()
--------__init__.py(59B)
--------customers()

网友评论