Help in deploying my app!!!!!!!

32 views
Skip to first unread message

Vishwajit Bhagat

unread,
Sep 22, 2020, 10:05:30 AM9/22/20
to Django users
Hey developers!
I am a beginner .I have created an app actually two separate apps  backend django api and frontend using react and the api requests for crud operations are made through axios.Now I wanna deploy it but the problem is should I deploy it separately or as single app . If single app, then how should I configure them together. 

RANGA BHARATH JINKA

unread,
Sep 22, 2020, 10:27:10 AM9/22/20
to django...@googlegroups.com
Hi,

    For deploying both as a single, you have to run npm run build.
    Then Link in django settings templates the build path of the dist folder.
    Every time you make a change run, npm run build.
    All the best.

On Tue, Sep 22, 2020 at 7:35 PM Vishwajit Bhagat <vishwaji...@gmail.com> wrote:
Hey developers!
I am a beginner .I have created an app actually two separate apps  backend django api and frontend using react and the api requests for crud operations are made through axios.Now I wanna deploy it but the problem is should I deploy it separately or as single app . If single app, then how should I configure them together. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8d4c5439-b803-4e80-80f7-803adf396ba2n%40googlegroups.com.


--
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

Vishwajit Bhagat

unread,
Sep 22, 2020, 10:36:50 AM9/22/20
to django...@googlegroups.com
Thanks bro. I will reach you if I got errors. 

RANGA BHARATH JINKA

unread,
Sep 22, 2020, 10:41:35 AM9/22/20
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages