简体   繁体   English

Django部署

[英]Django Deployment

I am given a responsibility in my project to develop a Equipment tracking tool with following requirements 在我的项目中,我有责任开发符合以下要求的设备跟踪工具

  1. New Equipment can be added by admin to a particular user 管理员可以将新设备添加到特定用户
  2. Once equipment is assigned to a person he will a request to accept the request so he will be responsible 将设备分配给某人后,他将请求接受该请求,因此他将负责
  3. User can transfer his equipment to other users. 用户可以将其设备转让给其他用户。
  4. At the same time Admin should be sent a mail or message whenever there is a change in status. 同时,只要状态发生变化,都应向管理员发送邮件或消息。
  5. It should be deployed locally on a PC( So it is not actually a web app) that is connected to network which can be accessed by everyone 应该将其本地部署在连接到网络的PC上(因此它实际上不是Web应用程序),每个人都可以访问

I thought I can use Django for this( I am new to it ), but I do not know much about deployment on a local PC , How can I do this, or is there any better Idea for this? 我以为可以为此使用Django(是我的新手),但是我对在本地PC上进行部署的了解不多,我该怎么做,或者对此有更好的主意?

It still sounds like you want a web app, you just won't be deploying it on a traditional web server. 听起来您仍然想要一个Web应用程序,只是不会将其部署在传统的Web服务器上。 One thing to note, client versions of Windows (XP, Vista) will limit you to 10 incoming connections per computer. 需要注意的一件事是,Windows(XP,Vista)的客户端版本会将您限制为每台计算机10个传入连接。

You'll want to follow these instructions on how to install Django . 您需要按照以下说明安装Django If you haven't installed python yet, I'll recommend that you install version 2.5 , since that will include sqlite, an embedded database that makes it very easy to get started developing with Django. 如果尚未安装python,我建议您安装2.5版 ,因为它将包含sqlite,这是一个嵌入式数据库,可以很轻松地开始使用Django开发。 Django includes its own development web server, which you will come across naturally as you go through the tutorial . Django包括自己的开发Web服务器,在学习本教程时 ,您会自然地遇到它。

Start by installing and then jump right into the tutorial. 从安装开始,然后直接进入教程。 Your deployment options will be much easier to understand once you're comfortable with developing in Django. 一旦熟悉Django开发,您的部署选项将更容易理解。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM