Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
f7e29022
Commit
f7e29022
authored
Aug 14, 2012
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
latke.props 加入 runtime mode 配置
parent
830816d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
core/src/main/java/org/b3log/solo/processor/InitProcessor.java
...src/main/java/org/b3log/solo/processor/InitProcessor.java
+1
-1
war/src/main/resources/latke.properties
war/src/main/resources/latke.properties
+5
-1
No files found.
core/src/main/java/org/b3log/solo/processor/InitProcessor.java
View file @
f7e29022
...
...
@@ -87,7 +87,7 @@ public final class InitProcessor {
return
;
}
final
AbstractFreeMarkerRenderer
renderer
=
new
ConsoleRenderer
();
renderer
.
setTemplateName
(
"init.ftl"
);
context
.
setRenderer
(
renderer
);
...
...
war/src/main/resources/latke.properties
View file @
f7e29022
...
...
@@ -16,7 +16,7 @@
#
# Description: B3log Latke configurations. Configures the section "Server" carefully.
# Version: 1.0.0.
5, May 31
, 2012
# Version: 1.0.0.
6, Aug 14
, 2012
# Author: Liang Ding
#
...
...
@@ -37,6 +37,10 @@ staticPath=
#runtimeEnv=LOCAL
runtimeEnv
=
GAE
#### Runtime Mode ####
runtimeMode
=
DEVELOPMENT
#runtimeMode=PRODUCTION
#### Cache Implementation ####
# Note: If the runtime environment is LOCAL, the cache will be LOCAL always
#cache=LOCAL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment