Hi, i am setting up for local deployment a django app in a desktop running FreeBSD12.2.
Django is installed within a jail using
I have a couple of questions for the simplest and safest way to put it in production in a local network.
1- Is it simpler to run
2- Assuming that the jail will only serve this app alone, is it mandatory to install django and it's dependencies in a virtual environement or a system-wide install is safe?
3- I forgot to add a cloned loop (lo1) to the network interface of this jail, should i fix this or i don't really need to?
4- i have an empty hard disk attached in my server, how could i manage to make a dataset for the app, and for static files , as i expect to upload a lot of pdf files into the app?
This thread will eventually lead to a dedicated tutorial.
Thank you in advance.
Django is installed within a jail using
ezjail
.I have a couple of questions for the simplest and safest way to put it in production in a local network.
1- Is it simpler to run
postgresql
in the host and configure the application to connect to the host ip, or to install postgresql directly in the same jail?2- Assuming that the jail will only serve this app alone, is it mandatory to install django and it's dependencies in a virtual environement or a system-wide install is safe?
3- I forgot to add a cloned loop (lo1) to the network interface of this jail, should i fix this or i don't really need to?
4- i have an empty hard disk attached in my server, how could i manage to make a dataset for the app, and for static files , as i expect to upload a lot of pdf files into the app?
This thread will eventually lead to a dedicated tutorial.
Thank you in advance.