Skip to content

Clownfish Installer #84

@rawdog71

Description

@rawdog71

BUILD TOOL

clownfish-latest.war

Build a ZIP with
clownfish-latest.war
application.properties
bootstrap_.properties
c3p0.properties
sql-bootstrap.sql
sql-bootstrap_
.sql

INSTALLER Script

The installer should download the ZIP file.
Extract the zip to the current folder.
Make all folders for the properties (#foldercache#, ...) [mkdir]
Ask for usage of WEBDAV, WEBSOCKET, WEBSOCKETPORT (default 9001)
Set the values in the application.properties [sed]
Set the folders in the sql-bootstrap*.sql files [sed]

The first login of admin user with default password must lead to question for new password!

// application.properties
webdav.use=1
websocket.use=1
websocket.port=9001

// sql-bootstrap.sql
INSERT INTO cf_property (hashkey, value, nodelete) VALUES
('html_compression', 'on', 1),
('html_gzip', 'on', 1),
('mail_password', '', 1),
('mail_sendfrom', '', 1),
('mail_smtp_host', '', 1),
('mail_transport_protocol', 'smtp', 1),
('mail_user', '', 1),
('folder_cache', '#foldercache#', 1),
('folder_media', '#foldermedia#', 1),
('folder_static', '#folderstatic#', 1),
('folder_index', '#folderindex#', 1),
('folder_icon', '#foldericon#', 1),
('folder_pdf', '#folderpdf#', 1),
('folder_attachments', '#folderattachments#', 1),
('job_support', 'true', 1),
('lucene_searchlimit', '25', 1),
('response_characterencoding', 'UTF-8', 1),
('response_contenttype', 'text/html', 1),
('response_locale', 'de', 1),
('sap_support', 'false', 1),
('site_error', 'error', 1),
('site_root', 'root', 1),
('site_search', 'searchresult', 1),
('info_assetmetadata', 'true', 1);

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions