How do I serve an angular js app from django's development server? The 2019 Stack Overflow...

Why don't Unix/Linux systems traverse through directories until they find the required version of a linked library?

Extreme, unacceptable situation and I can't attend work tomorrow morning

Why is the maximum length of openwrt’s root password 8 characters?

Inline version of a function returns different value then non-inline version

How to change the limits of integration

Does light intensity oscillate really fast since it is a wave?

Carnot-Caratheodory metric

Why Did Howard Stark Use All The Vibranium They Had On A Prototype Shield?

Time travel alters history but people keep saying nothing's changed

Access elements in std::string where positon of string is greater than its size

What is a mixture ratio of propellant?

The difference between dialogue marks

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

How to create dashed lines/arrows in Illustrator

What does Linus Torvalds means when he says that git "never ever" tracks a file?

Why is Grand Jury testimony secret?

How can I create a character who can assume the widest possible range of creature sizes?

Pristine Bit Checking

Does a dangling wire really electrocute me if I'm standing in water?

Unbreakable Formation vs. Cry of the Carnarium

Is three citations per paragraph excessive for undergraduate research paper?

Which Sci-Fi work first showed weapon of galactic-scale mass destruction?

Output the Arecibo Message

Is flight data recorder erased after every flight?



How do I serve an angular js app from django's development server?



The 2019 Stack Overflow Developer Survey Results Are Indjango mod_wsgi memory problemIs it possible to run automatically celery at startup?How to serve Django admin media files on BluehostNon-responsive apache + mod_wsgi after installing scipyHow can I get a Django Gunicorn project served up?Configuring django with LDAPRunning Django runserver doesn't respond on the browserHow can I set up django with apache?Serve Django Media Files via Nginx (Django/React/Nginx/Docker-Compose)Restrict access to Website/IP to specific OpenVPN client





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I have a project where I am using Angular js to consume a rest API that I built with Django-Rest-Framework. Currently I have to start up the django api using django development server e.g., 'python manage.py runserver' and then I have to start up the angular 2 server using either 'npm start' or through the cli, 'ng serve'. Is there any way I can setup my django project to serve the angular2 project?









share







New contributor




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



























    0















    I have a project where I am using Angular js to consume a rest API that I built with Django-Rest-Framework. Currently I have to start up the django api using django development server e.g., 'python manage.py runserver' and then I have to start up the angular 2 server using either 'npm start' or through the cli, 'ng serve'. Is there any way I can setup my django project to serve the angular2 project?









    share







    New contributor




    Mr. Rajiv Kumar 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








      I have a project where I am using Angular js to consume a rest API that I built with Django-Rest-Framework. Currently I have to start up the django api using django development server e.g., 'python manage.py runserver' and then I have to start up the angular 2 server using either 'npm start' or through the cli, 'ng serve'. Is there any way I can setup my django project to serve the angular2 project?









      share







      New contributor




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












      I have a project where I am using Angular js to consume a rest API that I built with Django-Rest-Framework. Currently I have to start up the django api using django development server e.g., 'python manage.py runserver' and then I have to start up the angular 2 server using either 'npm start' or through the cli, 'ng serve'. Is there any way I can setup my django project to serve the angular2 project?







      python django angular





      share







      New contributor




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










      share







      New contributor




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








      share



      share






      New contributor




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









      asked 50 secs ago









      Mr. Rajiv KumarMr. Rajiv Kumar

      1




      1




      New contributor




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





      New contributor





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






      Mr. Rajiv Kumar 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: "2"
          };
          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
          });


          }
          });






          Mr. Rajiv Kumar 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%2fserverfault.com%2fquestions%2f962341%2fhow-do-i-serve-an-angular-js-app-from-djangos-development-server%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








          Mr. Rajiv Kumar is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Mr. Rajiv Kumar is a new contributor. Be nice, and check out our Code of Conduct.













          Mr. Rajiv Kumar is a new contributor. Be nice, and check out our Code of Conduct.












          Mr. Rajiv Kumar is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Server Fault!


          • 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%2fserverfault.com%2fquestions%2f962341%2fhow-do-i-serve-an-angular-js-app-from-djangos-development-server%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

          Фонтен-ла-Гаярд Зміст Демографія | Економіка | Посилання |...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...