Recognition

Posts

10 Posts
  • Published Answer

    browser shows page that I dont have

    Hello Thank you. What it turned out to be is that gunicorn stays with the latest look of the website until you restart it. S…
    By chefvillas
  • Published Question

    browser shows page that I dont have

    I am just flummoxed. I started the web having just 1 single view in my views.py page, with one line to see if everything was working, namely: from django.http import HttpResponse def home(request): return HttpResp...
    2 By chefvillas Django
  • Published Question

    IP, domain name and nginx

    If I enter the IP in the URL box in the browser it takes well to my website. But if I enter the domain name, it takes me to the Welcome to Nginx web page. How is that ? and how to fix it?
    Accepted Answer: Hi @chefvillas , You are probably using the default nginx configuration file. If you would like to let nginx listen on a domain name, you will have to edit the configuration. Normally this would be either under /usr...
    1 By chefvillas Django
  • Published Question

    on the virtual environment

    We know that we have to create a virtual environment to host django etc, but the question that I ask myself is if when I return to the web and tweak things inside where the project is, do I have to be inside the virtu...
    Accepted Answer: The virtual environment is only necessary to run either the django test server (runserver) or the deployment server where your website will be running, for example Nginx. You can modify the project code while the test...
    1 By chefvillas Django
  • Published Answer

    your settings.py is set to True, (but it is not! it clearly reads: Debug = False)

    I found the answer on Stackoverflow https://stackoverflow.com/questions/38617046/django-debug-false-still-runs-in-debug-mode/511…
    By chefvillas
  • Published Question

    your settings.py is set to True, (but it is not! it clearly reads: Debug = False)

    I have my django installed properly with all the gunicorn, nginx and systemd collaborating with each other, I can see the Congratulations page you have successfully installed django etc. Yet, it says that my debug at ...
    1 By chefvillas Django
  • Published Answer

    How to configure gunicorn (and make sense out of it)

    UPDATE> It is solved.
    Accepted Answer: UPDATE> It is solved.
    By chefvillas
  • Published Question

    How to configure gunicorn (and make sense out of it)

    I have cloned my git repo in :here /var/www/directoriovirtual/here then I have created a gunicorn_start file inside: directoriovirtual the gunicorn_start file reads: NAME="djangovideos" DIR=/var/www/directoriovirtual/...
    Accepted Answer: UPDATE> It is solved.
    1 By chefvillas Django
  • Published Question

    connection refused

    This is the configuration file of nginx but I get connection refused error server { charset UTF-8; listen 80; servername my ip; root /var/www/language/videosapp; accesslog /var/log/video...
    1 By chefvillas Django Nginx
  • Published Answer

    Django Deployment - issue with supervisor failing (exited too quickly)

    I bet you are following the “simple is better than complex” “tutorial”. Actually people have been stuck with that issue for years. …
    By chefvillas