Starting mkdocs with pm2 #5266
-
Hello, currently I launch my mkdocs with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
After a quick search I get that pm2 was designed with Node applications in mind. So I searched if it can run Python scripts too, and it seems that it does. https://stackoverflow.com/a/34189393
However, I'm not sure if you can pass arguments in the command. |
Beta Was this translation helpful? Give feedback.
-
Please note that the MkDocs development server is not meant for hosting, only for previewing your site. It is inefficient and insecure. You should build your site with |
Beta Was this translation helpful? Give feedback.
Please note that the MkDocs development server is not meant for hosting, only for previewing your site. It is inefficient and insecure. You should build your site with
mkdocs build
and then use any web server, e.g. nginx, for hosting your content.