mkdir
/opt/constellio
/opt/constellio/git
et webapp
mkdir
/opt/constellio/git
mkdir
/opt/constellio/webapp
git clone https:
//github
.com
/doculibre/constellio
.git
cd
constellio
git tag -l
git checkout 7.7.5
nano
/opt/constellio/git/version
7.7.5
cd
/opt/constellio/git
wget https:
//raw
.githubusercontent.com
/doculibre/constellio/master/build
.gradle.main
mv
build.gradle.main build.gradle
wget https:
//raw
.githubusercontent.com
/doculibre/constellio/master/settings
.gradle.main
mv
settings.gradle.main settings.gradle
/opt/gradle/bin/gradle
war
/opt/constellio/git/constellio/build/libs
/opt/constellio/webapp
cp
constellio-7.7.5.war
/opt/constellio/webapp
unzip constellio-7.7.5.war
/opt/constellio/git/constellio/build/libs
/opt/constellio/webapp
cp
constellio-7.7.5.war
/opt/constellio/webapp
unzip constellio-7.7.5.war
nano
/opt/constellio/waitforsolr
----
#!/bin/bash
until
$(curl --output
/dev/null
--silent --
head
--fail http:
//localhost
:8983
/solr
);
do
printf
'.'
sleep
2
done
----
chmod
u+x
/opt/constellio/waitforsolr
mkdir
conf
cd
conf
nano constellio.properties
----
dao.records.
type
=http
dao.records.http.url=http:
//localhost
:8983
/solr/
dao.contents.
type
=filesystem
dao.settings.
type
=filesystem
dao.contents.filesystem.folder=
/opt/constellio/contents/
secondTransactionLog.enabled=
true
secondTransactionLog.folder=
/opt/constellio/transaction_log/
----
nano constellio.setup.properties
----
admin.servicekey=adminkey
admin.password=password
mainDataLanguage=fr
collections=collection
collection.collection.languages=fr
collection.collection.modules=com.constellio.app.modules.
rm
.ConstellioRMModule
----