A simple script to export all wiki pages and their attachments of a Redmine server.
- NodeJS version 6.9 or higher
Install the dependencies:
npm install
Create a config.json
file, containing the following properties:
redmineUrl
(required): the url of the Redmine server ;user
: the username used to authenticate through the Redmine REST API ;password
: the password used to authenticate through the Redmine REST API ;output
: the path of the local folder that will be used to store the output files ;insecure
: set this option totrue
to run the script in an insecure mode that will not try to validate the SSL certificate of the Redmine server.
Run the script:
node main.js