https://github.com/der3318/jooby-imgserver
Website Powered by Jooby - Image Upload Server
https://github.com/der3318/jooby-imgserver
gallery jooby webserver
Last synced: 12 months ago
JSON representation
Website Powered by Jooby - Image Upload Server
- Host: GitHub
- URL: https://github.com/der3318/jooby-imgserver
- Owner: der3318
- License: apache-2.0
- Created: 2019-06-27T14:13:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T05:13:07.000Z (over 6 years ago)
- Last Synced: 2025-01-13T18:33:42.571Z (about 1 year ago)
- Topics: gallery, jooby, webserver
- Language: Java
- Size: 3.38 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Jooby - Image Server
### Description
The project contains a simple web application which supports image uploading and image searching. It could be viewed as a temporary or private cloud space that manages the images you uploaded.
|Framework|[Jooby](https://jooby.org/)|
|:-:|:-:|
|Database|[SQLite](https://www.sqlite.org/index.html)|
|Build Tool|[Gradle v4.8](https://gradle.org/)|
|Front End|[Semantic UI v2.4.1](https://semantic-ui.com/)|
### Overview
|Note|Screenshot|
|:-:|:-:|
|Main Page||
|Upload Image or Zipped Images||
|View Image||
|Remove Image||
### Prerequisite
#### Java
* JDK/JRE 8+
* Setup Environment Variable $JAVA_HOME
* [Download](https://www.oracle.com/technetwork/java/javase/downloads/index.html) and Install
#### Gradle
* Version 4.8+
* [Download Zip](https://gradle.org/next-steps/?version=5.4.1&format=bin)
* Unzip and Copy the Gradle Library Path (`/tmp/gradle-5.4.1`)
* Modify Line No.36 in File `activate` in the Repository to Yours
* Run `$source activate` to Modify the Gradle Environment Variable
#### Disable Gradle Daemon
* Create File `$USER_HOME/.gradle/gradle.properties`
* Add `org.gradle.daemon=false` to the File
* [Reference](https://docs.gradle.org/current/userguide/gradle_daemon.html)
### Setup and Run Server
#### IP and Port
* Modify `host` and `port` in `conf/application.conf`
* Default Host `0.0.0.0` and Port `3318`
#### Database
* `jooby.db` Powered by Sqlite3
* Feel Free to Drop the Tables Before App Start
* [Download Database Browser (Optional)](https://sqlitebrowser.org/dl/)
#### Run
* UNIX - `$chmod +x gradlew` and `$./gradlew joobyRun`
* Windows - `$gradlew.bat joobyRun`
* Browse the Interface via `http://YOUR_IP/images`