Y
Y
Yaroslav2014-04-18 16:38:26
Django
Yaroslav, 2014-04-18 16:38:26

Django project from scratch to deployment?

Good afternoon.
I am learning django.
Windows 7 x64, Django 1.6.2, Python 3.4.
Based on the lessons , I created a project.
It came to deployment, I tried to install it in settings.py to check - the graphics and styles fell. I tried to return the static without setting the debug to True - it did not work. After reading the docks, I found out that runserver does not return static. I wanted to deploy a training project on a local machine using a third-party server - this is where the problems started. I haven’t done this before, so I want to find a suitable material on the topic “Deploy a finished Django project on a local machine”
DEBUG = TEMPLATE_DEBUG = False- if anyone can share good links on this topic - I will be very grateful. It is desirable (I understand that it is impossible to do this, but only as a training) - on Windows, well, or using a virtual server with Linux from Windows.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
denizen, 2014-04-19
@iquantii

If you are not confused by English, then here is an excellent book in the public domain. In the 8th chapter you will read about deployment, and in the 9th chapter you will read about one of the deployment automation options.

R
radioxoma, 2014-04-19
@radioxoma

Not quite on the topic, but you can use a ready-made remote server: pythonanywhere.com
Statics is configured quite conveniently, you can deploy via git.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question