I have installed the latest build of ERPNext system.
But I just knew how to start from the command line:
./lib/wnf.py --serve
However, I want the system automatically starts once the OS is turned on / by command.
May anyone can help me? Thanks!~
–
Note:
If you are posting an issue,
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.
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.
I have installed the latest build of ERPNext system.
But I just knew how to start from the command line:
./lib/wnf.py --serve
However, I want the system automatically starts once the OS is turned on /
by command.
May anyone can help me? Thanks!~
–
Note:
If you are posting an issue,
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.
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.
Gunicorn is a production ready webserver.
Supervisor is for process management (making sure that the wsgi server is up).
nginx for proxying + serving static to port 80.
On Thursday, 7 November 2013 01:46:36 UTC+8, pdvyas wrote:
On Wed, Nov 6, 2013 at 10:18 PM, Kenneth K <ke...@yahoo.com.hk> wrote:
> I have installed the latest build of ERPNext system.
>
> But I just knew how to start from the command line:
> ./lib/wnf.py --serve
>
> However, I want the system automatically starts once the OS is turned on /
> by command.
> May anyone can help me? Thanks!~
>
> --
> 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-forum+un...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Gunicorn is a production ready webserver.
Supervisor is for process management (making sure that the wsgi server is up).
nginx for proxying + serving static to port 80.
Thanks,
--
Pratik
ERPNext
–
Note:
If you are posting an issue,
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.
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.
For the following procedures, I cannot find the directory but I can find
/etc/supervisord.conf
So I cannot add a file gunicorn.conf to /etc/supervisor/conf.d/
Are they same?
What version of supervisor are you running, try installing supervisor 3+.
Also for nginx… My configuration file is as follows:
But the results show 502 Bad Gateway
It will give 502 because the wsgi server is not running at http://127.0.0.1:8000/
You can try running gunicorn in daemon mode (without supervisor) for
the time being
cd /path/to/erpnext
gunicorn -b 127.0.0.1:8000 -w 2 lib.webnotes.app:application
Sorry, the above command doesn't start in daemon mode, the following one does
```
cd /path/to/erpnext
gunicorn lib.webnotes.app:application -b localhost:8000 -D
```
–
Note:
If you are posting an issue,
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.
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.