Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
moodle_rebase10.1.2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Blinov
moodle_rebase10.1.2
Commits
a5f5c765
Commit
a5f5c765
authored
Aug 26, 2011
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Functional xwiki
parent
a7fd9213
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
12 deletions
+4
-12
slapos/recipe/xwiki/__init__.py
slapos/recipe/xwiki/__init__.py
+2
-2
slapos/recipe/xwiki/template/hibernate.cfg.xml.in
slapos/recipe/xwiki/template/hibernate.cfg.xml.in
+1
-1
software/xwiki/software.cfg
software/xwiki/software.cfg
+0
-9
stack/tomcat.cfg
stack/tomcat.cfg
+1
-0
No files found.
slapos/recipe/xwiki/__init__.py
View file @
a5f5c765
...
...
@@ -57,8 +57,8 @@ class Recipe(BaseSlapRecipe):
shtuil
.
rmtree
(
dst
)
raise
shutil
.
copy
(
self
.
options
[
'
hsql
_location'
].
strip
(),
os
.
path
.
join
(
tomcat_lib
,
'
hsqldb
.jar'
))
shutil
.
copy
(
self
.
options
[
'
jdbc
_location'
].
strip
(),
os
.
path
.
join
(
tomcat_lib
,
'
jdbc
.jar'
))
# headless mode
self
.
_writeFile
(
os
.
path
.
join
(
tomcat_home
,
'bin'
,
'setenv.sh'
),
'''#!/bin/sh
export JAVA_OPTS="${JAVA_OPTS} -Djava.awt.headless=true"
...
...
slapos/recipe/xwiki/template/hibernate.cfg.xml.in
View file @
a5f5c765
...
...
@@ -49,7 +49,7 @@
Uncomment if you want to use MySQL and comment out other database configurations.
We need to set the sql_mode to a less strict value, see XWIKI-1945
-->
<property
name=
"connection.url"
>
jdbc:mysql://%(mysql_ip)s:%(mysql_port)s/xwiki?useServerPrepStmts=false
&
useUnicode=true
&
characterEncoding=UTF-8
&
sessionVariables=sql_mode=''
</property>
<property
name=
"connection.url"
>
jdbc:mysql://%(mysql_ip)s:%(mysql_port)s/xwiki?useServerPrepStmts=false
&
useUnicode=true
&
characterEncoding=UTF-8
&
sessionVariables=
&
sql_mode=''
</property>
<property
name=
"connection.username"
>
xwiki
</property>
<property
name=
"connection.password"
>
xwiki
</property>
<property
name=
"connection.driver_class"
>
com.mysql.jdbc.Driver
</property>
...
...
software/xwiki/software.cfg
View file @
a5f5c765
...
...
@@ -7,15 +7,6 @@ find-links =
versions = versions
parts =
template
libxslt
eggs
instance-recipe-egg
tomcat
hsql
mysql-5.1
[instance-recipe]
egg = slapos.cookbook
module = xwiki
...
...
stack/tomcat.cfg
View file @
a5f5c765
...
...
@@ -29,6 +29,7 @@ parts =
tomcat
java
hsql
jdbc
mysql-5.1
[hsql]
...
...
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