Skip to content

Commit

Permalink
Cleanup code
Browse files Browse the repository at this point in the history
* Create 'rawetherapee' submodule
* Invoke RawTherapee directly without the helper script
* Check if RawTherapee is installed and run some tests
* Return Result where appropriate and propagate errors to the REST client

Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Jun 5, 2017
1 parent 0773ba4 commit f52af0d
Show file tree
Hide file tree
Showing 8 changed files with 645 additions and 27 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@

# Don't include possibly sensitive information
.env

/resources
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ RUN apt-get update && \

USER rawtherapee

COPY target/release/processor /usr/local/bin
COPY target/release/webservice /usr/local/bin

EXPOSE 8000

ENTRYPOINT ["/usr/local/bin/processor"]
ENTRYPOINT ["/usr/local/bin/webservice"]
8 changes: 0 additions & 8 deletions convert.sh

This file was deleted.

Binary file added resources/RAW1.NEF
Binary file not shown.
Loading

0 comments on commit f52af0d

Please sign in to comment.