citemicroservices
Implementation of the CITE architexture microservices specified here.
Current version: 1.1.1
Versions of binary releases follow semantic versioning guidelines.
See release notes
Get Started
- Clone the repository or download and unpack the zipped repository. (You can rename it afterwards if you like.)
- Open a Terminal/Commandline and
cdinto the new folder. - On Mac/Linux: start it up with
./citeMicros-VERSION/ on Windows: doubleclick onWinCiteMircros-VERSION.exe
Trouble-shooting
You might have to tell your Operating system that ./citeMicros-VERSION is an executable with chmod +x citeMicros-VERSION
Test it with your favourite browser
- http://localhost:8080/cite
- http://localhost:8080/texts
- http://localhost:8080/texts/
- http://localhost:8080/texts/urn:cts:citeArch:groupA.work1.ed1:1-2
- http://localhost:8080/texts/urns/urn:cts:citeArch:groupA.work1.ed1:1-2
- http://localhost:8080/texts/first/urn:cts:citeArch:groupA.work1.ed1:1-2
- http://localhost:8080/texts/last/urn:cts:citeArch:groupA.work1.ed1:1-2
- http://localhost:8080/texts/next/urn:cts:citeArch:groupA.work1.ed1:3.2
- http://localhost:8080/texts/previous/urn:cts:citeArch:groupA.work1.ed1:3.2
Test it with your own CEX
- Change the "cex_source" in
config.jsonor try it with my CEX file - Execute the http-request like above but add
[the_name_of_your_cex]in front of it - For instance, http://localhost:8080/million/texts/
- If you name your cex files
texts.cexwon't work with this implementation of the microservices.
Modify it to meet your needs:
config.json is pretty much self-explicable.