1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-18 20:59:43 +02:00
documize/sdk
Harvey Kandola c80ea52d72 gofmt
2016-10-17 14:00:06 -07:00
..
documize initial commit 2016-07-07 18:54:16 -07:00
exttest gofmt 2016-10-17 14:00:06 -07:00
api_test.go gofmt 2016-10-17 14:00:06 -07:00
attachment.go gofmt 2016-10-17 14:00:06 -07:00
auth.go gofmt 2016-10-17 14:00:06 -07:00
document.go restructure directories 2016-07-20 15:58:37 +01:00
errors.go gofmt 2016-10-17 14:00:06 -07:00
folders.go gofmt 2016-10-17 14:00:06 -07:00
loaddata.go gofmt 2016-10-17 14:00:06 -07:00
loadfile.go gofmt 2016-10-17 14:00:06 -07:00
meta.go gofmt 2016-10-17 14:00:06 -07:00
organization.go gofmt 2016-10-17 14:00:06 -07:00
pages.go restructure directories 2016-07-20 15:58:37 +01:00
README.md initial commit 2016-07-07 18:54:16 -07:00
templates.go restructure directories 2016-07-20 15:58:37 +01:00
users.go restructure directories 2016-07-20 15:58:37 +01: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.