Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to start a Django project in less than a minute!

20tab
January 21, 2019

How to start a Django project in less than a minute!

Fortunately Django makes life very easy in developing web applications: a ready admin, a complete framework and many features and libraries that allow you to develop projects quickly and correctly.

But years of errors on many web-developed projects allowed me to combine many best practices for the development and management of a Django project, automating my processes.

Ansible, uWSGI, Jenkins and obviously Django are the tools that will allow us to start a new project in less than a minute.

In this talk we will see how to set up a project from scratch that includes automation for the deployment, passing through a continuous integration system, using the most widespread tools in the open source world. All this in very few steps.

20tab

January 21, 2019
Tweet

More Decks by 20tab

Other Decks in Programming

Transcript

  1. www.20tab.com/startup-growth [email protected] Corpo livello uno Corpo livello due Corpo livello

    tre Corpo livello quattro Corpo livello cinque Titolo Testo www.20tab.com 20tab.com @raffaelecox | @20tab rafleze | 20tab /raffaele-colace [email protected] How to start a Django project in less than a minute! @raffaelecox | @twentytab
  2. www.20tab.com Co-founder @ 20tab srl Python Senior developer (PHP, Java,

    Swift, C#, …) Project Manager Colace Raffaele
  3. www.20tab.com • a DBA • a DevOps • a front-end

    developer Nobody understands me! What do you mean? https://psico.it I’m not:
  4. www.20tab.com ? Goals • Fast project setup • Simple and

    standard structure • Multi-platform
  5. www.20tab.com Goals • Fast project setup • Simple and standard

    structure • Multi-platform • Best practices
  6. www.20tab.com Goals • Fast project setup • Simple and standard

    structure • Multi-platform • Best practices • Simple deploy
  7. www.20tab.com Goals • Fast project setup • Simple and standard

    structure • Multi-platform • Best practices • Simple deploy • Respecting our methodologies
  8. www.20tab.com Problem Start project with: • different approaches • different

    configurations • different structures and without a method for: • automatic deploy • quality assurance
  9. www.20tab.com The second approach • standard process • local server

    configuration • remote servers configuration • CI configuration • deploy process
  10. www.20tab.com Required environments • Development • User Acceptance Testing •

    Staging • Production (same as Staging) • develop • develop • master • master
  11. www.20tab.com Needs • Quick installation on local environment • Quick

    and standard configuration • Simple requirements management • Some automatism for front-end development • Simple testing process • CI configuration • Deploy process
  12. www.20tab.com/startup-growth [email protected] Corpo livello uno Corpo livello due Corpo livello

    tre Corpo livello quattro Corpo livello cinque Titolo Testo www.20tab.com 20tab.com @raffaelecox | @20tab rafleze | 20tab /raffaele-colace [email protected] Thank you! @raffaelecox | @twentytab