-
Notifications
You must be signed in to change notification settings - Fork 4
/
HOWTO.txt
113 lines (102 loc) · 4.08 KB
/
HOWTO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# ----------------------------------------------
# BUILD HOWTO
# ----------------------------------------------
# 0: (Optional): Eclipse users run: mvn eclipse:eclipse
# 1: RENAME this file to dev.properties
# 2: Run in this directory: mvn clean install
# 3: cd calipso-hub-webapp
# 4: Run in the restdude-war-overlay directory: mvn clean install jetty:run
# 5: Point your browser to http://localhost:8080/restdude/client
# 6: Login with username: admin, password: admin
#
#
# CONFIG PROPERTIES
# ----------------------------------------------
# ----------------------------------------------
# Restdude build README
# ----------------------------------------------
#
# BUILD HOWTO
# ----------------------------------------------
# 0: (Optional): Eclipse users run: mvn eclipse:eclipse
# 1: RENAME this file to dev.properties
# 2: Run in this directory: mvn clean install
# 3: cd restdude-hub-webapp
# 4: Run in the restdude-hub-webapp directory: mvn clean install jetty:run
# 5: Point your browser to http://localhost:8080/restdude/client
# 6: Login with username: admin, password: admin
#
#
# CONFIG PROPERTIES
# ----------------------------------------------
buildfilters.restdude.appName=Restdude
buildfilters.restdude.contextPath=/restdude
buildfilters.restdude.initData=true
buildfilters.restdude.cookies.httpOnly=false
buildfilters.restdude.cookies.secure=false
buildfilters.restdude.registration.forceCodes=false
buildfilters.restdude.packages=**.restdude
buildfilters.jetty.port=8888
buildfilters.log.rootlevel=warn
test.log.rootlevel=warn
# Email
buildfilters.mail.enabled=true
buildfilters.mail.test.enable=false
buildfilters.mail.test.user=system
buildfilters.mail.server.host=
buildfilters.mail.server.port=2525
buildfilters.mail.server.protocol=smtp
buildfilters.mail.server.from=YOU@YOU.YOU
buildfilters.mail.server.username=USERNAME
buildfilters.mail.server.password=PASSWORD
# H2 Database
# RESThub JPA default properties are:
buildfilters.dataSource.driverClassName=org.h2.Driver
buildfilters.dataSource.url=jdbc:h2:mem:resthub;DB_CLOSE_DELAY=-1;MVCC=TRUE
buildfilters.dataSource.maxActive=50
buildfilters.dataSource.maxWait=1000
buildfilters.dataSource.poolPreparedStatements=true
buildfilters.dataSource.username=sa
buildfilters.dataSource.password =
buildfilters.dataSource.validationQuery=SELECT 1
buildfilters.hibernate.dialect=org.hibernate.dialect.H2Dialect
buildfilters.hibernate.show_sql=false
buildfilters.hibernate.format_sql=false
buildfilters.hibernate.hbm2ddl.auto=create
buildfilters.hibernate.cache.use_second_level_cache=true
buildfilters.hibernate.cache.provider_class=net.sf.ehcache.hibernate.SingletonEhCacheProvider
buildfilters.hibernate.id.new_generator_mappings=true
# MySQL Database (it needs to be created first!)
#buildfilters.dataSource.driverClassName=com.mysql.jdbc.Driver
#buildfilters.dataSource.url =jdbc:mysql://localhost:3306/YOURS?characterEncoding=UTF-8
#buildfilters.dataSource.maxActive=50
#buildfilters.dataSource.maxWait=1000
#buildfilters.dataSource.poolPreparedStatements=true
#buildfilters.dataSource.username=root
#buildfilters.dataSource.password=YOURS
#buildfilters.dataSource.validationQuery=SELECT 1
#buildfilters.hibernate.dialect =org.hibernate.dialect.MySQL5InnoDBDialect
#buildfilters.hibernate.show_sql=false
#buildfilters.hibernate.format_sql=false
#buildfilters.hibernate.hbm2ddl.auto=update
#buildfilters.hibernate.cache.use_second_level_cache=true
#buildfilters.hibernate.cache.provider_class=net.sf.ehcache.hibernate.SingletonEhCacheProvider
#buildfilters.hibernate.id.new_generator_mappings=true
# social APIs
buildfilters.github.clientId=
buildfilters.github.clientSecret=
buildfilters.facebook.clientId=
buildfilters.facebook.clientSecret=
buildfilters.twitter.consumerKey=
buildfilters.twitter.consumerSecret=
buildfilters.linkedin.consumerKey=
buildfilters.linkedin.consumerSecret=
buildfilters.google.consumerKey=
buildfilters.google.consumerSecret=
# file service impl
buildfilters.fs.filePersistenceService=com.restdude.domain.fs.DummyFilePersistenceServiceImpl
# AWS S3
buildfilters.aws_access_key_id=
buildfilters.aws_secret_access_key=
buildfilters.aws_namecard_bucket=
rd_bucket=