Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 65 lines (47 sloc) 1.87 KB
Based on the work of Paul Praveneers
Kudos Paul!
More Info? Use Help
$ ./ml-install -h
Sample:
./app-installer/ml-install
-N api \
-P 8010 \
-d api-application-v4.0/api \
-a api-application-v4.0/load-content.xqy \
-m api-application-v4.0/configure-database.xqy
Note: -D is your friend!
(oo)--',--
Want the script on the path?
1. move the whole folder to to /opt/MarkLogic
2. add it to path EXPORT PATH=somedir:$PATH
3. add the export statement to the preferences files for your shell
e.g. .bashrc
# assuming you copied the library to AppSetup
export APPSET_HOME="/opt/MarkLogic/AppSetup/"
export PATH=$APPSET_HOME:$PATH
4. Go --nuts-- panda:
$ ml-install
(oo)--',--
Found a bug?
nuno.job@marklogic.com
(oo)--',--
Feature Request?
1. Do it yourself (code is open, no binaries)
2. Test it
2a. Test it calling it from a random directory
2b. Test it calling it from the path
3. All cool? Send it to me, and thank you! :)
(oo)--',--
License
Copyright 2010 Mark Logic Corporation. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
The use of the Apache License does not indicate that this project is
affiliated with the Apache Software Foundation.