- Django Design Patterns and Best Practices
- Arun Ravindran
- 122字
- 2021-07-23 19:36:21
Before starting the project
While preparing a development environment, make sure that you have the following in place:
- A fresh Python virtual environment: Python 3 includes the
venv
module or you can installvirtualenv
. Both of them prevent polluting your global Python library. - Version control: Always use a version control tool such as Git or Mercurial. They are life savers. You can also make changes much more confidently and fearlessly.
- Choose a project template: Django's default project template is not the only option. Based on your needs try others such as
twoscoops
(https://github.com/twoscoops/django-twoscoops-project) oredge
(https://github.com/arocks/edge). - Deployment pipeline: I usually worry about this a bit later, but having an easy deployment process helps to show early progress. I prefer Fabric or Ansible.
推薦閱讀
- Java 9 Concurrency Cookbook(Second Edition)
- 動手玩轉Scratch3.0編程:人工智能科創教育指南
- Learning Python by Building Games
- 執劍而舞:用代碼創作藝術
- Spring Boot+Vue全棧開發實戰
- Odoo 10 Implementation Cookbook
- Python編程:從入門到實踐(第3版)
- Nagios Core Administration Cookbook(Second Edition)
- Android移動應用開發項目教程
- iOS開發項目化入門教程
- Mastering Apache Camel
- Beginning C# 7 Hands-On:The Core Language
- JavaScript編程精解(原書第3版)
- Internet of Things with Arduino Cookbook
- 情境微課開發(第2版)