Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clownfish Installer #84

Open
rawdog71 opened this issue Jan 11, 2023 · 0 comments
Open

Clownfish Installer #84

rawdog71 opened this issue Jan 11, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rawdog71
Copy link
Owner

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);

@rawdog71 rawdog71 added the enhancement New feature or request label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants