Skip to content

Commit 1cbc3d1

Browse files
committed
doc
1 parent 38f9b07 commit 1cbc3d1

File tree

16 files changed

+541
-210
lines changed

16 files changed

+541
-210
lines changed

LICENSE

Lines changed: 0 additions & 72 deletions
This file was deleted.

README.md

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,79 @@
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+
![list Bookmarks](doc/bookmarks.png?raw=true)
58+
59+
#### add a Bookmark
60+
61+
![add a Bookmark](doc/addbookmark.png?raw=true)
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+
279

Wildfly.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@ We need just one entry for the data source:
2323

2424
javax.persistence.nonJtaDataSource=java:/datasources/jBM
2525

26+
## Security
27+
28+
Add a Wildfly JEE user having roles jBM (and jBMAPI if you need the API for Android) to
29+
30+
application-users.properties
31+
application-roles.properties
32+
33+

doc/addbookmark.png

32.1 KB
Loading

doc/bookmarks.png

65.5 KB
Loading

0 commit comments

Comments
 (0)