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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos
Commits
62863e4d
Commit
62863e4d
authored
Oct 24, 2011
by
Mayoro Diagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first release of phenix
parent
4ceb89fe
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
213 additions
and
0 deletions
+213
-0
software/phenix/instance.cfg
software/phenix/instance.cfg
+20
-0
software/phenix/instance.cfg~
software/phenix/instance.cfg~
+17
-0
software/phenix/software.cfg
software/phenix/software.cfg
+69
-0
software/phenix/software.cfg~
software/phenix/software.cfg~
+69
-0
software/phenix/template/conf.inc.php.in
software/phenix/template/conf.inc.php.in
+38
-0
No files found.
software/phenix/instance.cfg
0 → 100644
View file @
62863e4d
[buildout]
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
parts = instance
[instance]
recipe = ${instance-recipe:egg}:${instance-recipe:module}
source = ${application:location}
template = ${application-template:location}/${application-template:filename}
configuration = ${application-configuration:location}
httpd_binary = ${apache:location}/bin/httpd
mysql_binary = ${mariadb:location}/bin/mysql
mysql_install_binary = ${mariadb:location}/bin/mysql_install_db
mysql_upgrade_binary = ${mariadb:location}/bin/mysql_upgrade
mysqld_binary = ${mariadb:location}/libexec/mysqld
delete = install
table_name = admin
constraint = `admin_id`>0
software/phenix/instance.cfg~
0 → 100644
View file @
62863e4d
[buildout]
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
parts = instance
[instance]
recipe = ${instance-recipe:egg}:${instance-recipe:module}
source = ${application:location}
template = ${application-template:location}/${application-template:filename}
configuration = ${application-configuration:location}
httpd_binary = ${apache:location}/bin/httpd
mysql_binary = ${mariadb:location}/bin/mysql
mysql_install_binary = ${mariadb:location}/bin/mysql_install_db
mysql_upgrade_binary = ${mariadb:location}/bin/mysql_upgrade
mysqld_binary = ${mariadb:location}/libexec/mysqld
software/phenix/software.cfg
0 → 100644
View file @
62863e4d
[buildout]
versions = versions
parts =
template
apache-php
mariadb
eggs
instance-recipe-egg
downloadcache-workaround
extends =
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/lamp.cfg
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/shacache-client.cfg
allow-hosts += alastairs-place.net
[application]
recipe = hexagonit.recipe.download
url = http://www.phenix.gapi.fr/download/phenix_501.zip
#md5sum = Student may put here md5sum of this file, this is good idea
#If provided tarball does not contain top directory, option shall be changed to false
#strip-top-level-dir = true
[application-template]
recipe = slapos.recipe.download
url = https://gitorious.org/~mayoro/slapos/mayoro-slapos/blobs/raw/master/software/phenix/template/conf.inc.php.in
#md5sum = Student may put here md5sum of this file, this is good idea
download-only = True
filename = template.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[application-configuration]
location = conf.inc.php
[instance-recipe]
egg = slapos.cookbook
module = lamp.simple
[template]
# Default template for the instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
#md5sum = Student shall put md5 of instance.cfg here
output = ${buildout:directory}/template.cfg
mode = 0644
[instance-recipe-egg]
recipe = zc.recipe.egg
python = python2.7
eggs = ${instance-recipe:egg}
[versions]
# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-010
[downloadcache-workaround]
# workaround irritating problem of hexagonit.recipe.cmmi which automatically
# creates download cache, which in turn switches builout to "semi-offline" mode
recipe = plone.recipe.command
# in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
# to ${buildout:directory}/downloads but this variable is available late, that's
# why it is hardcoded only for required case
download-cache = ${buildout:directory}/downloads
command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
update-command = ${:command}
stop-on-error = True
software/phenix/software.cfg~
0 → 100644
View file @
62863e4d
[buildout]
versions = versions
parts =
template
apache-php
mariadb
eggs
instance-recipe-egg
downloadcache-workaround
extends =
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/lamp.cfg
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/shacache-client.cfg
allow-hosts += alastairs-place.net
[application]
recipe = hexagonit.recipe.download
url = Student shall put here url of zipped or tarballed web page or application
#md5sum = Student may put here md5sum of this file, this is good idea
#If provided tarball does not contain top directory, option shall be changed to false
#strip-top-level-dir = true
[application-template]
recipe = slapos.recipe.download
url = Student shall put here url to template file for application
#md5sum = Student may put here md5sum of this file, this is good idea
download-only = True
filename = template.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[application-configuration]
location = Student shall put here relative path to application top level directory where configuration shall be created
[instance-recipe]
egg = slapos.cookbook
module = lamp.simple
[template]
# Default template for the instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
#md5sum = Student shall put md5 of instance.cfg here
output = ${buildout:directory}/template.cfg
mode = 0644
[instance-recipe-egg]
recipe = zc.recipe.egg
python = python2.7
eggs = ${instance-recipe:egg}
[versions]
# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-010
[downloadcache-workaround]
# workaround irritating problem of hexagonit.recipe.cmmi which automatically
# creates download cache, which in turn switches builout to "semi-offline" mode
recipe = plone.recipe.command
# in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
# to ${buildout:directory}/downloads but this variable is available late, that's
# why it is hardcoded only for required case
download-cache = ${buildout:directory}/downloads
command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
update-command = ${:command}
stop-on-error = True
software/phenix/template/conf.inc.php.in
0 → 100644
View file @
62863e4d
<?php
/**************************************************************************\
* Phenix Agenda *
* http://phenix.gapi.fr *
* Written by Stephane TEIL <phenix-agenda@laposte.net> *
* Contributors Christian AUDEON (Omega) <christian.audeon@gmail.com> *
* Maxime CORMAU (MaxWho17) <maxwho17@free.fr> *
* Mathieu RUE (Frognico) <matt_rue@yahoo.fr> *
* Bernard CHAIX (Berni69) <ber123456@free.fr> *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
// ----------------------------------------------------------------------------
// Parametres de l'application
// ----------------------------------------------------------------------------
$APPLI_VERSION
=
"5.01"
;
$APPLI_LANGUE
=
"fr"
;
// Langue par defaut de Phenix pour la page d'identification notamment
// ----------------------------------------------------------------------------
// Connexion a la base
// ----------------------------------------------------------------------------
$cfgHote
=
"%(mysql_host)s"
;
// Serveur MySQL
$cfgUser
=
"%(mysql_user)s"
;
// Utilisateur
$cfgPass
=
"%(mysql_password)s"
;
// Mot de passe
$cfgBase
=
"%(mysql_database)s"
;
// Nom de la base
$PREFIX_TABLE
=
"px_"
;
// Permet de prefixer le nom des tables dans votre base de donnees
$CHEMIN_ABSOLU
=
false
;
if
(
$_GET
[
'msg'
]
!=
"6"
)
{
// Selon votre version de PHP, il vous faudra peut-etre indiquer ici le chemin absolu
include
(
"inc/db_class.inc.php"
);
}
define
(
"_CONF_INC_LOADED"
,
true
);
?>
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