1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 05:09:42 +02:00
documize/sdk
2016-07-07 18:54:16 -07:00
..
documize initial commit 2016-07-07 18:54:16 -07:00
exttest initial commit 2016-07-07 18:54:16 -07:00
api_test.go initial commit 2016-07-07 18:54:16 -07:00
attachment.go initial commit 2016-07-07 18:54:16 -07:00
auth.go initial commit 2016-07-07 18:54:16 -07:00
document.go initial commit 2016-07-07 18:54:16 -07:00
errors.go initial commit 2016-07-07 18:54:16 -07:00
folders.go initial commit 2016-07-07 18:54:16 -07:00
loaddata.go initial commit 2016-07-07 18:54:16 -07:00
loadfile.go initial commit 2016-07-07 18:54:16 -07:00
meta.go initial commit 2016-07-07 18:54:16 -07:00
organization.go initial commit 2016-07-07 18:54:16 -07:00
pages.go initial commit 2016-07-07 18:54:16 -07:00
README.md initial commit 2016-07-07 18:54:16 -07:00
templates.go initial commit 2016-07-07 18:54:16 -07:00
users.go initial commit 2016-07-07 18:54:16 -07:00

SDK for the Documize system

The SDK is in development, please do not use in a live environment.

documize command

The directory "documize" contains a command line utility to load files onto the Documize server. Run the command with "--help" to see the available flags.

test suite (currently disabled)

The directory "exttest" contains a set of tests that are used both to test this package and to test the main documize code.

In order to run these tests two environment variables must be set:

  • DOCUMIZEAPI - the url of the endpoint, which must be http://localhost:5002 at present
  • DOCUMIZEAUTH - the authorization credentials in the form domain:email:password, which must be of the form :mick@jagger.com:demo123 at present, with the Documize DB organistion record having the default (empty) subdomain.

There must also be a single folder named "Test" for code to find and use. TODO(Elliott) remove this restriction.