INSTALL

changeset 262
c357c4e69b9e
parent 254
55ca6cafc3dd
     1.1 --- a/INSTALL	Thu Dec 29 15:12:25 2022 +0100
     1.2 +++ b/INSTALL	Fri Dec 30 13:21:09 2022 +0100
     1.3 @@ -26,10 +26,16 @@
     1.4  the lightpit_app user which has less privileges to create the data source and
     1.5  leave the lightpit_dbo user for the database operator.
     1.6  
     1.7 -4. Deploy the WAR file of lightpit
     1.8 +4. Build and Deploy the WAR file of lightpit
     1.9  
    1.10 -This is the most straight forward step. Just deploy the WAR file as you usually
    1.11 -do in your application server.
    1.12 +Build the WAR file with gradle. If your application server already provides
    1.13 +the necessary runtime libraries for JSTL and PostgreSQL, leave the variable
    1.14 +libsAreProvided = true during the build. Otherwise, set this variable to false
    1.15 +and the libraries will be included in the WAR file. But keep in mind that some
    1.16 +servlet containers, like Tomcat, are not so happy about this when hot redeploy-
    1.17 +ments are performed. If you experience ClassDefNotFound errors after a hot
    1.18 +redeployment, you should either provide the libs in your container or always
    1.19 +restart the entire container after a redeployment.
    1.20  
    1.21  5. Configuring a web server and authentication
    1.22  

mercurial