Moving Django web app directory Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Setting the Python path for the trunk version of DjangoDjango installed, but can't import django in pythonHow to install Django 1.6?Django and SQLite3 doesn't workError installing DjangoRunning python script from django viewscelery django daemonizationdjango app deployment without subdomainUbuntu 18.04 LTS, Apache2, Django Channels with WebSocket Issue 404How to run Django cron in crontab?

Disable hyphenation for an entire paragraph

Letter Boxed validator

∞ symbol in external pdf disappears when used as figure

What are the pros and cons of Aerospike nosecones?

Stars Make Stars

I am not a queen, who am I?

How to bypass password on Windows XP account?

Why is "Captain Marvel" translated as male in Portugal?

What is the musical term for a note that continously plays through a melody?

How to motivate offshore teams and trust them to deliver?

What is a Meta algorithm?

Is 1 ppb equal to 1 μg/kg?

Are my PIs rude or am I just being too sensitive?

Gastric acid as a weapon

Is it true that "carbohydrates are of no use for the basal metabolic need"?

"Seemed to had" is it correct?

Why one of virtual NICs called bond0?

If Jon Snow became King of the Seven Kingdoms what would his regnal number be?

What is the correct way to use the pinch test for dehydration?

Should gear shift center itself while in neutral?

What are the motives behind Cersei's orders given to Bronn?

3 doors, three guards, one stone

Bonus calculation: Am I making a mountain out of a molehill?

Is it true to say that an hosting provider's DNS server is what links the entire hosting environment to ICANN?



Moving Django web app directory



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Setting the Python path for the trunk version of DjangoDjango installed, but can't import django in pythonHow to install Django 1.6?Django and SQLite3 doesn't workError installing DjangoRunning python script from django viewscelery django daemonizationdjango app deployment without subdomainUbuntu 18.04 LTS, Apache2, Django Channels with WebSocket Issue 404How to run Django cron in crontab?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















So I have a really limited knowledge with Django, but for this years cyber defense comp I have a django application that I need to secure as well as the machine. Through a bit of research I found I need to move it. It is in the root directory, and I found that that is a big nono. So I really want to move it to my admin user's folder. (If you would suggest I would be open to making a user for the sole purpose of nobody logging in, but having it hold the files that would be chill)



Anyways I need to move it out of root. I took a snapshot and gave her the good old college try, but something was wrong so I reverted. It started fine, but for some reason it wouldn't work in firefox. It just didn't connect. I think I need to do something with gunicorn because that is how the systemd service accesses it. Not really sure. In preparation I set up a really crappy django site with one page so my knowledge is limited, sorry.



P.S. Sorry I am really sick rn and I am staying at home fighting it off and I am gonna be all rambly



TL;DR I need to move django web app from root directory to a new one and make it work with systemd and gunicorn with only my monkey brain










share|improve this question







New contributor




Hunter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    So I have a really limited knowledge with Django, but for this years cyber defense comp I have a django application that I need to secure as well as the machine. Through a bit of research I found I need to move it. It is in the root directory, and I found that that is a big nono. So I really want to move it to my admin user's folder. (If you would suggest I would be open to making a user for the sole purpose of nobody logging in, but having it hold the files that would be chill)



    Anyways I need to move it out of root. I took a snapshot and gave her the good old college try, but something was wrong so I reverted. It started fine, but for some reason it wouldn't work in firefox. It just didn't connect. I think I need to do something with gunicorn because that is how the systemd service accesses it. Not really sure. In preparation I set up a really crappy django site with one page so my knowledge is limited, sorry.



    P.S. Sorry I am really sick rn and I am staying at home fighting it off and I am gonna be all rambly



    TL;DR I need to move django web app from root directory to a new one and make it work with systemd and gunicorn with only my monkey brain










    share|improve this question







    New contributor




    Hunter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      So I have a really limited knowledge with Django, but for this years cyber defense comp I have a django application that I need to secure as well as the machine. Through a bit of research I found I need to move it. It is in the root directory, and I found that that is a big nono. So I really want to move it to my admin user's folder. (If you would suggest I would be open to making a user for the sole purpose of nobody logging in, but having it hold the files that would be chill)



      Anyways I need to move it out of root. I took a snapshot and gave her the good old college try, but something was wrong so I reverted. It started fine, but for some reason it wouldn't work in firefox. It just didn't connect. I think I need to do something with gunicorn because that is how the systemd service accesses it. Not really sure. In preparation I set up a really crappy django site with one page so my knowledge is limited, sorry.



      P.S. Sorry I am really sick rn and I am staying at home fighting it off and I am gonna be all rambly



      TL;DR I need to move django web app from root directory to a new one and make it work with systemd and gunicorn with only my monkey brain










      share|improve this question







      New contributor




      Hunter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      So I have a really limited knowledge with Django, but for this years cyber defense comp I have a django application that I need to secure as well as the machine. Through a bit of research I found I need to move it. It is in the root directory, and I found that that is a big nono. So I really want to move it to my admin user's folder. (If you would suggest I would be open to making a user for the sole purpose of nobody logging in, but having it hold the files that would be chill)



      Anyways I need to move it out of root. I took a snapshot and gave her the good old college try, but something was wrong so I reverted. It started fine, but for some reason it wouldn't work in firefox. It just didn't connect. I think I need to do something with gunicorn because that is how the systemd service accesses it. Not really sure. In preparation I set up a really crappy django site with one page so my knowledge is limited, sorry.



      P.S. Sorry I am really sick rn and I am staying at home fighting it off and I am gonna be all rambly



      TL;DR I need to move django web app from root directory to a new one and make it work with systemd and gunicorn with only my monkey brain







      server python django






      share|improve this question







      New contributor




      Hunter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Hunter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Hunter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 3 hours ago









      HunterHunter

      12




      12




      New contributor




      Hunter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Hunter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Hunter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Hunter is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134210%2fmoving-django-web-app-directory%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Hunter is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          Hunter is a new contributor. Be nice, and check out our Code of Conduct.












          Hunter is a new contributor. Be nice, and check out our Code of Conduct.











          Hunter is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134210%2fmoving-django-web-app-directory%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

          Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

          Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»