How to Run script on remote server from Django Webserver - Help needed

75 views
Skip to first unread message

Sharanagouda Biradar

unread,
May 12, 2020, 10:06:28 AM5/12/20
to Django users
Hello All,

I have started learning Django last one week and able to fairly understand basic poll application in tutorial, Now I need any of your help in meeting my requirements:

Requirement below :

I have a basic (server1) Django development web server and another server (server2) which has a python script that will launch local application. Assume that the server1 has necessary authentication in place to run the script on server2. All I want to do is, click a button on the django website which would run the python script sitting on server2. Apart from above I need to get status of tests running as part of server2 application, along with csv files from Server2 back to server1 (web server).

Can I achieve the above requirement using Django REST APIs? or Django Remote submission ? I am really clueless here, any pointers are highly appreciated.

Wilson Duarte

unread,
May 12, 2020, 8:15:44 PM5/12/20
to Django users
Hi,

I prefer developer this solution, using REST API, it is more elegante.

Nagaraju Singothu

unread,
May 13, 2020, 12:52:05 AM5/13/20
to django...@googlegroups.com
Dear Users,

            If you have any free source code live projects please send to me.

--
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/7c7b0ddc-9396-4b13-8c96-4933a13d8014%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages