diff --git a/README.md b/README.md index 2a4209d..f6e32c8 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ There are a few things you can configure, this is the most used list:
```OE_VERSION``` is the Odoo version to install, for example ```12.0``` for Odoo V12.
```IS_ENTERPRISE``` will install the Enterprise version on top of ```12.0``` if you set it to ```True```, set it to ```False``` if you want the community version of Odoo 12.
```OE_SUPERADMIN``` is the master password for this Odoo installation.
-```INSTALL_NGINX``` is set to ```False``` Set this to ```True``` if you want to install Nginx.
+```INSTALL_NGINX``` is set to ```False``` by default. Set this to ```True``` if you want to install Nginx.
```WEBSITE_NAME``` Set the website name here for nginx configuration
#### 3. Make the script executable diff --git a/odoo_install.sh b/odoo_install.sh index 21b435a..2f57125 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -14,8 +14,6 @@ # ./odoo-install ################################################################################ -##fixed parameters -#odoo OE_USER="odoo" OE_HOME="/$OE_USER" OE_HOME_EXT="/$OE_USER/${OE_USER}-server" @@ -31,11 +29,14 @@ OE_VERSION="12.0" IS_ENTERPRISE="False" # Set this to True if you want to install Nginx! INSTALL_NGINX="False" -#set the superadmin password +# Set the superadmin password OE_SUPERADMIN="admin" OE_CONFIG="${OE_USER}-server" -#set the website name +# Set the website name WEBSITE_NAME="_" +#Set the default Odoo port (you still have to use -c /etc/odoo-server.conf for example to use this.) +LONGPOLLING_PORT="8072" + ## ### WKHTMLTOPDF download links ## === Ubuntu Trusty x64 & x32 === (for other distributions please replace these two links, @@ -297,6 +298,7 @@ if [ $INSTALL_NGINX = "True" ]; then types { text/less less; + text/scss scss; } # enable data compression @@ -316,7 +318,7 @@ if [ $INSTALL_NGINX = "True" ]; then } location /longpolling { - proxy_pass http://127.0.0.1:8072; + proxy_pass http://127.0.0.1:$LONGPOLLING_PORT; } # cache some static data in memory for 60mins.