How to share erpnext 4 over LAN

74 views
Skip to first unread message

keshav vats

unread,
Apr 11, 2014, 9:45:50 AM4/11/14
to erpnext-dev...@googlegroups.com
In previous version of erpnext(3) by changing aap.py file in webnotes

but how will i do this in erpnext 4

Pratik Vyas

unread,
Apr 11, 2014, 9:56:02 AM4/11/14
to erpnext-dev...@googlegroups.com
On Fri, Apr 11, 2014 at 7:15 PM, keshav vats <kesha...@gmail.com> wrote:
> In previous version of erpnext(3) by changing aap.py file in webnotes
>
> but how will i do this in erpnext 4
>

This is a configuration issue, nothing to change in
frappe/webnotes/erpnext code. Bind the webserver on an appropriate
port and make sure firewall doesn't block it.
> --
> Note:
>
> If you are posting an issue,
> 1. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 2. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 3. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/ab6d1594-ea95-422c-82aa-a576b1532112%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


Thanks,
--
Pratik
erpnext

keshav vats

unread,
Apr 11, 2014, 10:00:13 AM4/11/14
to erpnext-dev...@googlegroups.com
i have done it by changing in apps/frappe/frappe/app.py file
now i am trying to run it on port 80

keshav vats

unread,
Apr 11, 2014, 10:02:07 AM4/11/14
to erpnext-dev...@googlegroups.com
I am sharing it over lan thats why i am asking this . May be i am wrong somewhere but this is working for me i can access it from all systems over my lan



On Friday, April 11, 2014 7:15:50 PM UTC+5:30, keshav vats wrote:

Pratik Vyas

unread,
Apr 11, 2014, 10:10:34 AM4/11/14
to erpnext-dev...@googlegroups.com
On Fri, Apr 11, 2014 at 7:30 PM, keshav vats <kesha...@gmail.com> wrote:
> i have done it by changing in apps/frappe/frappe/app.py file
> now i am trying to run it on port 80
>
To bind to port 80 you will have to run erpnext as root, which you
should never do. If you followed frappe-bench, then config for
supervisor and nginx are automatically generated. Just install
supervisor and nginx and copy the config

ref: https://github.com/frappe/frappe-bench#production-deployment

>
> On Friday, April 11, 2014 7:15:50 PM UTC+5:30, keshav vats wrote:
>>
>> In previous version of erpnext(3) by changing aap.py file in webnotes
>>
>> but how will i do this in erpnext 4
>
> --
> Note:
>
> If you are posting an issue,
> 1. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 2. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 3. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/83bf1883-6d88-4daf-9f27-2c97a8dc40de%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Pratik
erpnext
Reply all
Reply to author
Forward
0 new messages