diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/application.conf | 62 | ||||
-rw-r--r-- | conf/routes | 9 |
2 files changed, 71 insertions, 0 deletions
diff --git a/conf/application.conf b/conf/application.conf new file mode 100644 index 0000000..1db3b0e --- /dev/null +++ b/conf/application.conf | |||
@@ -0,0 +1,62 @@ | |||
1 | # This is the main configuration file for the application. | ||
2 | # ~~~~~ | ||
3 | |||
4 | # Secret key | ||
5 | # ~~~~~ | ||
6 | # The secret key is used to secure cryptographics functions. | ||
7 | # | ||
8 | # This must be changed for production, but we recommend not changing it in this file. | ||
9 | # | ||
10 | # See http://www.playframework.com/documentation/latest/ApplicationSecret for more details. | ||
11 | application.secret="e@_?aqO:dGjH9LfXK?T;V`Pb9K?S22igdQVvgN?b?vnb[UkXbORmWO`O9>mWabI5" | ||
12 | |||
13 | # The application languages | ||
14 | # ~~~~~ | ||
15 | application.langs="en" | ||
16 | |||
17 | # Global object class | ||
18 | # ~~~~~ | ||
19 | # Define the Global object class for this application. | ||
20 | # Default to Global in the root package. | ||
21 | # application.global=Global | ||
22 | |||
23 | # Router | ||
24 | # ~~~~~ | ||
25 | # Define the Router object to use for this application. | ||
26 | # This router will be looked up first when the application is starting up, | ||
27 | # so make sure this is the entry point. | ||
28 | # Furthermore, it's assumed your route file is named properly. | ||
29 | # So for an application router like `my.application.Router`, | ||
30 | # you may need to define a router file `conf/my.application.routes`. | ||
31 | # Default to Routes in the root package (and conf/routes) | ||
32 | # application.router=my.application.Routes | ||
33 | |||
34 | # Database configuration | ||
35 | # ~~~~~ | ||
36 | # You can declare as many datasources as you want. | ||
37 | # By convention, the default datasource is named `default` | ||
38 | # | ||
39 | # db.default.driver=org.h2.Driver | ||
40 | # db.default.url="jdbc:h2:mem:play" | ||
41 | # db.default.user=sa | ||
42 | # db.default.password="" | ||
43 | |||
44 | # Evolutions | ||
45 | # ~~~~~ | ||
46 | # You can disable evolutions if needed | ||
47 | # evolutionplugin=disabled | ||
48 | |||
49 | # Logger | ||
50 | # ~~~~~ | ||
51 | # You can also configure logback (http://logback.qos.ch/), | ||
52 | # by providing an application-logger.xml file in the conf directory. | ||
53 | |||
54 | # Root logger: | ||
55 | logger.root=ERROR | ||
56 | |||
57 | # Logger used by the framework: | ||
58 | logger.play=INFO | ||
59 | |||
60 | # Logger provided to your application: | ||
61 | logger.application=DEBUG | ||
62 | |||
diff --git a/conf/routes b/conf/routes new file mode 100644 index 0000000..20fd042 --- /dev/null +++ b/conf/routes | |||
@@ -0,0 +1,9 @@ | |||
1 | # Routes | ||
2 | # This file defines all application routes (Higher priority routes first) | ||
3 | # ~~~~ | ||
4 | |||
5 | # Home page | ||
6 | GET / controllers.Application.index | ||
7 | |||
8 | # Map static resources from the /public folder to the /assets URL path | ||
9 | GET /assets/*file controllers.Assets.at(path="/public", file) | ||