Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialqueenyq
12,043 PointsSetting up Local environment
I would really like to set up a local environment to run django on my computer. I am currently trying to get this up and running with django but I need some help.
I am able to create a vagrant box using precise32 (ubuntu 12.04) but thats all the build has. Do I need to install both django, postgresql and nginx in this box to have a complete ready to develop environment for django
2 Answers
Oktay Altay
2,329 PointsTo work local you just need django and sqlite3 db. You can also use postgresql if you want its up to you or the project you are gonna make. Nginx is more for when you want to deploy your project. If you have installed django just go to the terminal and type the following command: python manage.py syncdb this will build the sqlite3db and after that the command runserver and you have set up your development environment.
Sry for my bad english :)
Livia Dobai
21,894 PointsHi, For a local develop environment, you will need to install virtualenv and django. In this course we are not using postgree sql. Django have his own internal server for testing purposes, so yo don't need nginx.