Getting Started with Django
gettingstartedwithdjango.com
gettingstartedwithdjango.com
Even if its not step one, I would prefer more tutorials to have a full fledged 'Getting Set Up' section; even if it becomes arbitrary. It makes sure everyone can get on the same page no matter where they come from.
Additionally, these are the actual procedures you could use to set up a very real and serious tool. I'm loving this!
One of the better tutorials I have found that takes extra care in making sure you are doing everything right, is the famous rails tutorial found here: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
A few suggestions on how to improve the consumption of these videos.
1) Break down the video into smaller bite sized chunks to provide for natural breaks. Unlike movies where it's more a passive viewing experience, educational videos, especially ones where you're expected to follow along, require a lot more mental engagement. This makes it difficult to sit through a 50 minute video in one sitting.
3) Use a basic video editor (e.g ScreenFlow) to zoom into the sections you're working on. It's difficult to follow what you're doing when viewing the entire screen, text is tiny and difficult to read. Also forcing me to go into full screen mode to view the text, doesn't help when I want to follow along.
Overall, I love it. Keep up the good work.
I agree with this. Find a natural stopping point if you can or just make the videos smaller regardless. ~15 min is OK IMHO.
How do you plan to fund the other lessons?
Huh?
http://www.merriam-webster.com/dictionary/corollary
check out the second definitions part a and b:
2.a : something that naturally follows : result
2.b : something that incidentally or naturally accompanies or parallels
This is the reason the VM was introduced. So that no matter what OS the user is running, they can follow along without having to go search for ways to get all this setup and running. The setup is very minimal thanks to Chef and Vagrant.
Kenneth is trying to teach best practices and tools to use. He also explained in the beginning of the video that you should be comfortable with a terminal and text editor that you like. This shouldn't be your first time looking at a terminal.
Heroku is a simple way to get your project out to the public and it's free. Nothing inspired me more as a developer than having others look at my work. I think it adds a little bit of excitement to be able to show your work to others almost immediately. Even if it's something small, it's still something to "show off" and feel good about.
Coming from rails, its weird to me that he seems to emphasize their 'gem install' equivalent over their bundler equivalent.
Otherwise, a great tutorial.
This article covers some of the equivalent jobs using Ruby and Python:
http://gillesfabio.com/blog/2011/03/01/rvm-for-pythonistas-v...
The article misses covering the freeze command in pip which is great for generating requirements.txt files:
pip freeze > requirements.txt
Covered in detail here: http://www.pip-installer.org/en/latest/requirements.html
I'm only confused at why installing pip/python isn't done via the chef file also. If you ever wanted to destroy the VM instance it'd be nice to not have to re-run any setup.
This tutorial doesn't require you to learn chef or use it directly in anyway so I don't think that's fair to include on the list of complaints.
It's nice for a tutorial to acknowledge this and give you a VM to play around with.
But put it at the end of the tutorial, not at the beginning
Come on guys, they're doing the tutorial to learn Django, not "all the things around it" (which are important, but it is not Django).
I agree that to learn a language you should not focus on "operational" stuff, but once you get into web frameworks that line can get a little blurry.
Because in the real world, you need to know things like chef, vagrant, ubuntu, apt-get, pip, virtualenv, heroku, ssh... if you want to do anything beyond building a demo app that only runs locally. I use all this stuff every day and I'm looking forward to going through this tutorial.
I'm also quite excited about the prebuilt VM that targets Heroku as my colleagues and I were just about to do this ourselves to retool our deploy process. This'll be an awesome start, thanks!
This tutorial is so myopic. It reads more like a recipe from a beginner's cookbook than anything else.
What Kenneth is offering is obviously a guide with recommendations and not requiring you to use them for your projects. It's ultimately up to the developer to decide what to use.
Chef and vagrant are going a long way towards giving me most of the things I love about Heroku and dotCloud but with more control.
On a tangent, it really goes to show how heavy django development really is. Almost frustratingly so. I keep hearing that it's the web framework for developers on a deadline (it being developed by and for journalists from the get-go), but holy smokes does it take a while to get your stack set up. and for me, I've never done it all in one shot. Whenever I decide to sitdown and take a crack at django, I end up debugging the configuration for about a day and a half.
I made this mistake when I was learning Ruby. Ha! Good times!
I'm having trouble getting the VM going and I have a pretty vanilla set up so I'm worried the requirements might need some more detail such as version numbers.
I'm running Ubuntu 12.04 LTS on an i3-2350M and all BIOS settings for virtualization are enabled.
I installed Vagrant 1.0.6 and VirtualBox 4.2.6.
Vagrant gives the following error:
[default] The guest additions on this VM do not match the install version of VirtualBox! This may cause things such as forwarded ports, shared folders, and more to not work properly. If any of those things fail on this machine, please update the guest additions and repackage the box.
And running directly from the VirtualBox GUI gives an error:
Failed to open a session for the virtual machine gswd_1358906798.
VT-x features locked or unavailable in MSR. (VERR_VMX_MSR_LOCKED_OR_DISABLED).
My hardware is 6 months old, would you expect people with 4 year old hardware to run this without trouble?
Any ideas would be appreciated.
The Vagrant version I have is 1.0.5, just for completeness sake.
I just downloaded the zip file again to check, and there's nothing in there (at least that I can find) that mentions a version of VirtualBox. You're also the first person to mention a problem like this (one other person had a problem after running the VM with getting packages from Google).
You could try downgrading, or, since you're on a sane OS, just running everything sans VM. You'll need to install Git and PostgreSQL yourself, though.
Let me know if anything changes, please. I'll ask around and let you know if I find anything out.
Thanks, and sorry for your problems.
As a Desktop/Systems developer I find it hard to integrate all the HTML - CSS - JS - Python and then deploy a Web Application, I've been taking a look at the Django Book but it kinds of assumes you know Web Development.
This looks like just what I need, I'll finish my Poll application and check your tutorials.
Also thank you for making series ;)
Even if you like this format better, the official-site tutorial is pretty good, and helpfully sets a common baseline for all Django learners (and all followup teaching). Having a 'canon' helps future steps, even if they diverge.
As someone who has been learning Django/Python for 4 months, I very much appreciate both the getting started with Django site and the book 2 Scoops of Django that just came out. Would have saved me weeks of time if I had access to these 4 months ago. It's coincidence that they came out within a few days of each other (and a few days after Django 1.5 release candidate came out).
There's even greater interest in Ruby on Rails, the leading web development framework for Ruby.
Pinterest, Disqus, Instagram, PBS site, Washington Post site, etc. etc. are all Django projects. It's definitely worth learning -- the community is helpful and in large numbers, the framework is quite 'complete' -- there are lots of plugins available, it's fairly secure... and it's a pleasure to work with. :)
body {width: 80%; margin:0 auto; min-width:1080px;}