django-react-template:使用Django和React的样板模板

时间:2021-03-20 07:02:28
【文件属性】:
文件名称:django-react-template:使用Django和React的样板模板
文件大小:9KB
文件格式:ZIP
更新时间:2021-03-20 07:02:28
react django Python 开始吧 步骤1:克隆存储库 git clone https://github.com/priteshkeleven/django-react-template.git 步骤2:创建虚拟环境并安装依赖项。 逐行运行此命令。 virtualenv venv venv \Script \a ctivate pip install -r requirements.txt 步骤3:安装NPM依赖关系。 逐行运行此命令。 cd frontend npm install npm run dev 步骤4:在其他终端启动Django服务器。 激活虚拟环境作为步骤2。 python manage.py runserver
【文件预览】:
django-react-template-master
----frontend()
--------apps.py(91B)
--------urls.py(93B)
--------tests.py(60B)
--------webpack.config.js(252B)
--------src()
--------.babelrc(77B)
--------admin.py(63B)
--------__init__.py(0B)
--------models.py(57B)
--------views.py(132B)
--------templates()
--------package.json(684B)
----manage.py(627B)
----Project()
--------settings.py(3KB)
--------urls.py(97B)
--------__init__.py(0B)
--------asgi.py(391B)
--------wsgi.py(391B)
----README.md(553B)
----requirements.txt(65B)
----.gitignore(143B)

网友评论