[Django] Setting up Django Development Environment in Ubuntu 14.04
1. Python
Of course you will need Python. Still Python 2.7 is preferred, however if you would like to create new projects with Python 3, it is also fine to do.
Newest Python could be downloaded from https://www.python.org/downloads/
2. pip
It is a very powerful tool for installing and managing Python packages. We could use pip to install Django also. To install pip in Ubuntu 14.04, (To upgrade pip: pip install -U pip)
sudo apt-get install python-pip
3. Installing Django
It will be very convenient and easy to install Django with the help of pip. Simply use:
sudo pip install Django==1.7
(You may refer to www.djangoproject.com/download for more details) Here we install newest Django 1.7 for our projects.
4. IDE
It is optional to prepare an IDE for web development using Django, you may purely use text editors like Vim and commandline to complete all your development. However I would recommend to use an IDE for the ease of life. There are two recommended IDEs:
- PyCharm (http://www.jetbrains.com/pycharm/)
For PyCharm it has a free community version for Python projects development, also you may either pay or contribute for a standard edition which supports integrated Django development.
- Aptana (http://www.aptana.com)
Aptana is a free IDE which is an extension of Eclipse with PyDev dedicated for Web development. It is completely free and I am currently use it.
Installing Aptana
To install Aptana 3 in Ubuntu, you may directly download it from its official website, and use deb file to install. (Note: it is not recommended to use the newest version, which has some annoying bugs that you need to attend. Refer to this thread.)
Configuring Aptana
You may change the perspective to PyDev for Django development. (Note: There is a known bug for PyDev, that you will have to create and keep an empty PyDev project in your workspace to enable yourself creating Django projects with PyDev.)
Setting up Python Interpreter
5. Git
It is important to make your codes and resources version-controlled if you are in a team or building up a complex system.
[Django] Setting up Django Development Environment in Ubuntu 14.04的更多相关文章
- Establish the LAMP (Linux+Apache+MySQL+PHP) Development Environment on Ubuntu 14.04 Operating System
######################################################## Step One: Update the software package in yo ...
- [django] Deploy Django Applications Using uWSGI and Nginx on Ubuntu 14.04
关键点1:chmod-socket=666 (mysite_uwsgi.ini) 关键点2 : 工程目录和虚拟环境目录搞清楚 几个参考: http://uwsgi-docs.readthedocs.i ...
- storm环境搭建(前言)—— 翻译 Setting Up a Development Environment
Setting Up a Development Environment 搭建storm开发环境所需步骤: Download a Storm release , unpack it, and put ...
- ubuntu 14.04 部署Django项目
一.购买服务器 推荐 vultr的服务器,还可以_ _ _,链接:传送门 操作系统建议选 ubuntu 14.04 64位 二.购买域名 链接:传送门 三.安装相关软件 # 创建一个叫mu的用户 ro ...
- ubuntu 14.04.5 编译Android 4.4.4 r1源码(最新)
本文博客链接:http://blog.csdn.net/qq1084283172/article/details/54426189 吐槽:ubuntu系统真是让人又爱又恨,也有可能是VMware Wo ...
- How To Set Up an OpenVPN Server on Ubuntu 14.04
Prerequisites The only prerequisite is having a Ubuntu 14.04 Droplet established and running. You wi ...
- 如何在Ubuntu 14.04中安装最新版Eclipse
想必很多开发人员都知道,Ubuntu 软件源中提供的并不是最新版本的 Eclipse,本教程就教大家如何在 Ubuntu 14.04 中快速安装 Eclipse 官方发布的最新版本. 到目前为止,Ec ...
- Ubuntu 14.04—Eclipse配置Pydev
Eclipse: 1. 下载 Eclipse 最新版 访问官方网站下载 Eclipse 最新版,这个就不多说了,大家自己去下. http://www.eclipse.org/downloads/?o ...
- How To Install Apache Kafka on Ubuntu 14.04
打算学习kafka ,接触一些新的知识.加油!!! 参考:https://www.digitalocean.com/community/tutorials/how-to-install-apache- ...
随机推荐
- 使用命令行执行webpagetest进行测试
背景 使用webpagetest进行性能分析,需要一个一个url的去执行,需要人为去等,比较繁琐.而api很好的解决了这个问题,可以通过命令行等执行测试,也可以写成一个常规脚本,针对每个版本的常规ur ...
- 关于NIO
操作系统的IO控制 在整个IO控制方式的发展过程中,始终贯穿着这样一条宗旨:即尽量减少主机对IO控制的干预,把主机从繁杂的IO控制事务中解脱出来,以便更多地去完成数据处理任务.为了缓和高速CPU和IO ...
- 【面向对象版】HashMap(增删改查)
前言: 关于什么是HashMap,HashMap可以用来做些什么,这些定义类的描述,请参照[简易版]HashMap(增删改查)的内容. 这章节主要是面向实例,直接进行HashMap(增删改查)的演示. ...
- tesseract3.01的训练和使用
相关源码.资源下载:http://code.google.com/p/tesseract-ocr/downloads/list 训练步骤: 1. Generate Training Images:生 ...
- db2 常用命令
db2osconf 检查系统内核参数 db2pd 监控检查数据库工具,可以检查数据库的许多信息(锁.交易.表空间. SQL等) db2expln 查看程序包的执行计划 db2exfmt 格式化expl ...
- TTL、RS232、RS485、串口
Point: 1.串口.COM口是指的物理接口形式(硬件).而TTL.RS-232.RS-485是指的电平标准(电信号). 2.接设备的时候,一般只接GND RX TX.不会接Vcc或者+3.3v的电 ...
- [题解]vijos & codevs 能量项链
a { text-decoration: none; font-family: "comic sans ms" } .math { color: gray; font-family ...
- OO基本原则
1. 单一职责原则(SRP) 一个类应该最多只能有一个因素能够给导致其变化,类中的方法应该都是相关性很高的,即"高内聚" 2. 开放-封闭原则(OC) - 扩 ...
- Linux默认权限的计算公式(个人理解性的笔记~)
先记下Linux下的权限可以分为 常见的 r(Read,读取):对文件,读取文件内容的权限:目录来说,具有浏览目 录的权限.权限值=4 w(Write,写入):对文件而言,具有新增.修改文件内容的权限 ...
- 如何将数据库中的表导入到PowerDesigner中
1. 打开PowerDesigner12,在菜单中按照如下方式进行操作file->Reverse Engineer->DataBase 点击后,弹出 New Physical ...