Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Xavier Thompson
slapos
Commits
81d04939
Commit
81d04939
authored
Aug 17, 2012
by
Jean-Baptiste Petre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update joomla and add configuration file
parent
376f1f11
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
112 deletions
+69
-112
software/joomla/database.xml-in
software/joomla/database.xml-in
+54
-0
software/joomla/instance.cfg
software/joomla/instance.cfg
+0
-5
software/joomla/software.cfg
software/joomla/software.cfg
+15
-107
No files found.
software/joomla/database.xml-in
0 → 100644
View file @
81d04939
<?xml version="1.0" encoding="utf-8"?>
<form>
<fieldset>
<fieldset
name=
"basic"
>
<field
name=
"db_type"
type=
"databaseconnection"
id=
"db_type"
class=
"inputbox"
label=
"INSTL_DATABASE_TYPE_LABEL"
supported=
"mysql,mysqli,sqlsrv,sqlazure"
required=
"true"
default=
"mysql"
filter=
"string"
/>
<field
name=
"db_host"
type=
"text"
id=
"db_host"
class=
"inputbox"
label=
"INSTL_DATABASE_HOST_LABEL"
default=
"%(mysql_host)s"
required=
"true"
/>
<field
name=
"db_user"
type=
"text"
id=
"db_user"
class=
"inputbox"
label=
"INSTL_DATABASE_USER_LABEL"
default=
"%(mysql_user)s"
required=
"true"
/>
<field
name=
"db_pass"
type=
"password"
id=
"db_pass"
class=
"inputbox"
label=
"INSTL_DATABASE_PASSWORD_LABEL"
default=
"%(mysql_password)s"
filter=
"raw"
/>
<field
name=
"db_name"
type=
"text"
id=
"db_name"
class=
"inputbox"
label=
"INSTL_DATABASE_NAME_LABEL"
default=
"%(mysql_database)s"
required=
"true"
/>
</fieldset>
<!-- Advanced Settings -->
<fieldset
name=
"advanced"
>
<field
name=
"db_old"
type=
"radio"
id=
"db_old"
class=
"inputbox"
label=
"INSTL_DATABASE_OLD_PROCESS_LABEL"
default=
"backup"
required=
"true"
>
<option
value=
"backup"
>
INSTL_DATABASE_FIELD_VALUE_BACKUP
</option>
<option
value=
"remove"
>
INSTL_DATABASE_FIELD_VALUE_REMOVE
</option>
</field>
<field
name=
"db_prefix"
type=
"prefix"
id=
"db_prefix"
class=
"inputbox"
label=
"INSTL_DATABASE_PREFIX_LABEL"
required=
"true"
validate=
"prefix"
message=
"INSTL_DATABASE_PREFIX_MSG"
/>
</fieldset>
</fieldset>
</form>
software/joomla/instance.cfg
View file @
81d04939
[buildout]
[buildout]
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
parts = instance
parts = instance
[instance]
[instance]
recipe = ${instance-recipe:egg}:${instance-recipe:module}
source = ${application:location}
httpd_binary = ${apache:location}/bin/httpd
httpd_binary = ${apache:location}/bin/httpd
mysql_base_directory = ${mariadb:location}
mysql_base_directory = ${mariadb:location}
mysql_binary = ${mariadb:location}/bin/mysql
mysql_binary = ${mariadb:location}/bin/mysql
...
...
software/joomla/software.cfg
View file @
81d04939
[buildout]
[buildout]
versions = versions
versions = versions
parts =
template
apache-php
mariadb
eggs
instance-recipe-egg
downloadcache-workaround
extends =
extends =
../../stack/lamp.cfg
../../stack/lamp
/buildout
.cfg
../../stack/shacache-client.cfg
../../stack/shacache-client.cfg
[application]
[application]
recipe = slapos.recipe.build:download-unpacked
recipe = slapos.recipe.build:download-unpacked
url = http://joomlacode.org/gf/download/frsrelease/15278/66554/Joomla_1.7.0-Stable-Full_Package.tar.gz
url = http://joomlacode.org/gf/download/frsrelease/17173/74758/Joomla_2.5.6-Stable-Full_Package.zip
md5sum = 19451c0352e4c72d871cc8817126286a
md5sum = 3aa7d7b58bfa4eec3c3724209894d14e
strip-top-level-dir = false
[instance-recipe]
[application-template]
egg = slapos.cookbook
recipe = slapos.recipe.download
module = lamp.simple
url = ${:_profile_base_location_}/database.xml-in
md5sum = 6ae063318a251b70ae7d037e3ae375d6
[template]
download-only = True
# Default template for the instance.
filename = template.in
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
#${:_profile_base_location_}/instance.cfg
#md5sum = Student shall put md5 of instance.cfg here
output = ${buildout:directory}/template.cfg
mode = 0644
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[instance-recipe-egg]
recipe = zc.recipe.egg
[application-configuration]
eggs = ${instance-recipe:egg}
location = installation/models/forms/database.xml
[versions]
# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-010
Jinja2 = 2.6
MySQL-python = 1.2.3
Werkzeug = 0.8.1
apache-libcloud = 0.5.2
buildout-versions = 1.7
hexagonit.recipe.cmmi = 1.5.0
meld3 = 0.6.7
plone.recipe.command = 1.1
slapos.cookbook = 0.34
slapos.recipe.build = 0.7
slapos.recipe.download = 1.0.dev-r4053
slapos.recipe.template = 2.2
slapos.toolbox = 0.10
# Required by:
# slapos.core==0.18
# slapos.toolbox==0.10
Flask = 0.8
# Required by:
# slapos.cookbook==0.34
PyXML = 0.8.4
# Required by:
# hexagonit.recipe.cmmi==1.5.0
hexagonit.recipe.download = 1.5.1
# Required by:
# slapos.cookbook==0.34
# slapos.core==0.18
# slapos.toolbox==0.10
# xml-marshaller==0.9.7
lxml = 2.3.1
# Required by:
# slapos.cookbook==0.34
netaddr = 0.7.6
# Required by:
# slapos.core==0.18
netifaces = 0.6
# Required by:
# slapos.toolbox==0.10
paramiko = 1.7.7.1
# Required by:
# slapos.toolbox==0.10
psutil = 0.3.0
# Required by:
# slapos.cookbook==0.34
# slapos.core==0.18
# slapos.toolbox==0.10
setuptools = 0.6c12dev-r88846
# Required by:
# slapos.cookbook==0.34
# slapos.toolbox==0.10
slapos.core = 0.18
# Required by:
# slapos.core==0.18
supervisor = 3.0a10
# Required by:
# slapos.cookbook==0.34
# slapos.toolbox==0.10
xml-marshaller = 0.9.7
# Required by:
# slapos.cookbook==0.34
zc.recipe.egg = 1.3.2
# Required by:
# slapos.core==0.18
zope.interface = 3.8.0
[downloadcache-workaround]
[downloadcache-workaround]
# workaround irritating problem of hexagonit.recipe.cmmi which automatically
# workaround irritating problem of hexagonit.recipe.cmmi which automatically
...
...
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