|
1 | | -# jBM |
| 1 | +# jBM - Online Bookmark Manager |
| 2 | + |
| 3 | +jBM is a Java Web Application to collect your bookmarks online. |
| 4 | + |
| 5 | +Add bookmarks with a bookmarklet, the web gui or an Android app. |
| 6 | + |
| 7 | +jBM is a Java port of [SemanticScuttle](https://sourceforge.net/projects/semanticscuttle/) and contains some code of it. |
| 8 | + |
| 9 | +# License |
| 10 | + |
| 11 | +[GNU General Public License, version 2](https://www.gnu.org/licenses/gpl-2.0.html) |
| 12 | + |
| 13 | +# Setup |
| 14 | + |
| 15 | +## Database |
| 16 | + |
| 17 | +create a PostgreSQL database for jBM and execute the [tables-postgresql.sql](entities/src/main/resources/tables-postgresql.sql) script. |
| 18 | + |
| 19 | + createdb jbm |
| 20 | + psql jbm < entities/src/main/resources/tables-postgresql.sql |
| 21 | + |
| 22 | +## Tomcat |
| 23 | + |
| 24 | +add these driver jars to tomcat/lib |
| 25 | + |
| 26 | +* postgresql-9.4.1212.jar |
| 27 | +* javax.persistence-2.1.1.jar |
| 28 | +* eclipselink-2.6.4.jar |
| 29 | + |
| 30 | +add a jBM-custom.properties to tomcat/lib like |
| 31 | + |
| 32 | + javax.persistence.jdbc.driver=org.postgresql.Driver |
| 33 | + javax.persistence.jdbc.url=jdbc:postgresql://host/jbm |
| 34 | + javax.persistence.jdbc.user=jbm |
| 35 | + javax.persistence.jdbc.password=sosecret |
| 36 | + |
| 37 | +### Security |
| 38 | + |
| 39 | +jBM needs JEE Security Roles |
| 40 | + |
| 41 | + jBM |
| 42 | + jBMAPI |
| 43 | + |
| 44 | +jBMAPI for the remote API (for the Android App). |
| 45 | + |
| 46 | +For Tomcat these are declared in tomcat-users.xml |
| 47 | + |
| 48 | + <role rolename="jBM"/> |
| 49 | + <role rolename="jBMAPI"/> |
| 50 | + <user username="weberjn" password="sosecret" roles="jBM,jBMAPI"/> |
| 51 | + |
| 52 | + |
| 53 | +# Screenshots |
| 54 | + |
| 55 | +#### list Bookmarks |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | +#### add a Bookmark |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | +# API |
| 64 | + |
| 65 | +jBM supports a subset of the delicious API v1. |
| 66 | + |
| 67 | +# Android |
| 68 | + |
| 69 | +[Scuttloid](https://github.com/ilesinge/scuttloid) can be used as Android Client for jBM. |
| 70 | + |
| 71 | +Server-URL is your jBM context root |
| 72 | + |
| 73 | + http://your.host/jBM |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
2 | 79 |
|
0 commit comments