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
Gabriel Monnerat
slapos
Commits
53c83291
Commit
53c83291
authored
13 years ago
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add templates for PHP tutorial in slapos.git
parent
6b9befbc
restore-from-backup
1.0
alain
apache-lower-reload
apache-promise
arnau
asterisk
authorized_keys
caddy
caucase_integration
cedric.ln-erp5-cluster
cherry-pick-bbfbf262
cloudooo
cloudooo-clusterise-split
cygwin
cygwin-0
cygwin-res-resstack
davstorage-ajaxplorer
dream
drop_mt_index_in_BTreeFolder2
drupal
erp5
erp5-ca
erp5-cluster
erp5-cluster-monitoring
erp5-cluster-scalability
erp5-cluster-z2.13
erp5-cluster-z2.13-scalability
erp5-cluster-z2.13-scalability-N
erp5-component
erp5-component-libressl
erp5-component-subversion-1.7
erp5-component-subversion-1.8
erp5-component-z2.12
erp5-frontend
erp5-mysql-insecure-password
erp5-postfix
erp5-rkm
erp5-scikit
erp5-split-tidstorage
erp5-vifib
erp5-z2.12
erp5_kernel_jupyter
erp5testnode-max_timeout
erp5testnode-scalability
erp5testnode-scalability-rebase-erp5testnode
erp5testnode-seb
erp5testnode_newfirefox
etherpad-lite
extend_nginx_push_stream
failed-request-log-warning
feat/mosh
frontend-monitor-slave-configuration
gcc-4.7
gitlab-test
gitlab-test-8.6.1
glpi
grid-computing
hexaglobe-watermarking
hexaglobe-watermarking-replicated
improved-hello-world
inkscape-cmake
ipnb_st
ipython
ipython_notebook
ivan
jupyter_wendelin
kvm-iaas
lab-resilent
lamp-edge-jinja
lte-standalone
mac
manual-kvm
master
mkr
monitor-stack
neo-rocks
new-frontend
nginx_with_auth
officejs_testrunner
onlyoffice-core
openblas-make-ext-options
openstack
palo
palo_etl_wip
postfix
postgres
py_magic_workaround
rafael-review
re6st-registry
reafs/heads/ipython
request-recipe
scikit-notmerge
selenium_test
shebang_limitation
shellinabox_password_promise_delay
skynet
slapos-master-cluster
slappromise
slapprunner-shellinabox-wip
systematic
systematic-nginx
testnode_software_link
ttrm
wendelin_notebook
wordpress-nginx
zerovm
zerovm-test
zimbra
zimbra-kvm
20120218
1.0.51
1.0.50.1
1.0.50
1.0.49
1.0.48
1.0.47
1.0.46.1
1.0.46
1.0.45
1.0.44
1.0.43
1.0.42
1.0.41
1.0.40.1
1.0.40
1.0.39
1.0.38.1
1.0.38
1.0.37
1.0.36
1.0.35
1.0.34
1.0.33
1.0.32
1.0.31
1.0.30
1.0.29
1.0.28
1.0.27
1.0.26
1.0.25
1.0.24
1.0.23
1.0.22
1.0.21
1.0.20
1.0.19
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8.1
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
vifib-20150331
vifib-20150203
vifib-20150130
vifib-20150123
vifib-20150116
vifib-20141222
vifib-20141119
slaprunner-resilient-v1
slaprunner-resilient-v1-RC1
slapos.core-1.0.0rc6-1
slapos.cookbook-0.103
slapos.cookbook-0.102
slapos.cookbook-0.101
slapos.cookbook-0.100
slapos.cookbook-0.99
slapos.cookbook-0.98
slapos.cookbook-0.97
slapos.cookbook-0.96
slapos.cookbook-0.95
slapos.cookbook-0.94
slapos.cookbook-0.93
slapos.cookbook-0.92
slapos.cookbook-0.91
slapos.cookbook-0.90
slapos.cookbook-0.89
slapos.cookbook-0.88
slapos.cookbook-0.87
slapos.cookbook-0.86
slapos.cookbook-0.85
slapos.cookbook-0.84.2
slapos.cookbook-0.84.1
slapos.cookbook-0.84
slapos.cookbook-0.83.1
slapos.cookbook-0.83
slapos.cookbook-0.82
slapos.cookbook-0.81
slapos.cookbook-0.80
slapos.cookbook-0.79
slapos.cookbook-0.78.5
slapos.cookbook-0.78.4
slapos.cookbook-0.78.3
slapos.cookbook-0.78.2
slapos.cookbook-0.78.1
slapos.cookbook-0.78.0
slapos.cookbook-0.77.1
slapos.cookbook-0.77.0
slapos.cookbook-0.76.0
slapos.cookbook-0.75.0
slapos.cookbook-0.74.0
slapos.cookbook-0.73.1
slapos.cookbook-0.72.0
slapos.cookbook-0.71.4
slapos.cookbook-0.71.3
slapos.cookbook-0.71.2
slapos.cookbook-0.71.1
slapos.cookbook-0.71
slapos.cookbook-0.70
slapos.cookbook-0.69
slapos.cookbook-0.68.1
slapos.cookbook-0.68
slapos.cookbook-0.67
slapos.cookbook-0.66
slapos.cookbook-0.64.2
slapos.cookbook-0.64.1
slapos.cookbook-0.64
slapos.cookbook-0.63
slapos.cookbook-0.62
slapos.cookbook-0.61
slapos.cookbook-0.60
slapos.cookbook-0.59
slapos.cookbook-0.58
slapos.cookbook-0.57
slapos.cookbook-0.55
slapos.cookbook-0.54.1
slapos.cookbook-0.54
slapos.cookbook-0.53
slapos.cookbook-0.51
slapos.cookbook-0.50
slapos.cookbook-0.49
slapos.cookbook-0.48
slapos.cookbook-0.47
slapos.cookbook-0.46
slapos.cookbook-0.45
slapos.cookbook-0.44
slapos.cookbook-0.43
slapos.cookbook-0.42
slapos.cookbook-0.41
slapos.cookbook-0.40.1
slapos.cookbook-0.40
slapos.cookbook-0.39
slapos.cookbook-0.38
slapos.cookbook-0.37
slapos.cookbook-0.35
slapos-legacy-flask-stack
slapos-159
slapos-0.271
slapos-0.270
slapos-0.269
slapos-0.268
slapos-0.267
slapos-0.266
slapos-0.265
slapos-0.264
slapos-0.263
slapos-0.262
slapos-0.261
slapos-0.260
slapos-0.259.2
slapos-0.259.1
slapos-0.259
slapos-0.258
slapos-0.257
slapos-0.256
slapos-0.255
slapos-0.254
slapos-0.253.3
slapos-0.253.2
slapos-0.253.1
slapos-0.253
slapos-0.252.1
slapos-0.252
slapos-0.251
slapos-0.250.2
slapos-0.250.1
slapos-0.250
slapos-0.249.1
slapos-0.249
slapos-0.248.1
slapos-0.248
slapos-0.247.1
slapos-0.247
slapos-0.246
slapos-0.245
slapos-0.244
slapos-0.243
slapos-0.242
slapos-0.241
slapos-0.240.0
slapos-0.240
slapos-0.239
slapos-0.238
slapos-0.237
slapos-0.236
slapos-0.235
slapos-0.234
slapos-0.233
slapos-0.232
slapos-0.231
slapos-0.230
slapos-0.229
slapos-0.228
slapos-0.227
slapos-0.226
slapos-0.225
slapos-0.224
slapos-0.223.1
slapos-0.223
slapos-0.222
slapos-0.221
slapos-0.220
slapos-0.219
slapos-0.218.2
slapos-0.218.1
slapos-0.218
slapos-0.217
slapos-0.217-B1
slapos-0.216
slapos-0.215
slapos-0.214
slapos-0.213
slapos-0.212
slapos-0.211
slapos-0.210
slapos-0.209
slapos-0.208
slapos-0.207
slapos-0.206
slapos-0.205
slapos-0.204
slapos-0.203
slapos-0.202
slapos-0.201
slapos-0.200
slapos-0.199
slapos-0.199-hotfix-20140409
slapos-0.198
slapos-0.197
slapos-0.196
slapos-0.195
slapos-0.194-RC3
slapos-0.194-RC2
slapos-0.194-RC1
slapos-0.193
slapos-0.192
slapos-0.191
slapos-0.190
slapos-0.189
slapos-0.188
slapos-0.187
slapos-0.186
slapos-0.185
slapos-0.184
slapos-0.183
slapos-0.182
slapos-0.181
slapos-0.180
slapos-0.179
slapos-0.178
slapos-0.177.5
slapos-0.177.4
slapos-0.177.3
slapos-0.177.2
slapos-0.177.1
slapos-0.177
slapos-0.176.4
slapos-0.176.3
slapos-0.176.2
slapos-0.176.1
slapos-0.176
slapos-0.175
slapos-0.174
slapos-0.173
slapos-0.172
slapos-0.171
slapos-0.170
slapos-0.169
slapos-0.168.9
slapos-0.168.8
slapos-0.168.7
slapos-0.168.6
slapos-0.168.5
slapos-0.168.4
slapos-0.168.3
slapos-0.168.2
slapos-0.168.1
slapos-0.168
slapos-0.167
slapos-0.166
slapos-0.165
slapos-0.164
slapos-0.163
slapos-0.162
slapos-0.161
slapos-0.160
slapos-0.159
slapos-0.158
slapos-0.157
slapos-0.156
slapos-0.155
slapos-0.154
slapos-0.153
slapos-0.152
slapos-0.151
slapos-0.150
slapos-0.149
slapos-0.148
slapos-0.147
slapos-0.146
slapos-0.145
slapos-0.144
slapos-0.143
slapos-0.142
slapos-0.141
slapos-0.140
slapos-0.139
slapos-0.138
slapos-0.137
slapos-0.136
slapos-0.135.1
slapos-0.135
slapos-0.134
slapos-0.133
slapos-0.132
slapos-0.131
slapos-0.130
slapos-0.129
slapos-0.128
slapos-0.127
slapos-0.126
slapos-0.125
slapos-0.124
slapos-0.123
slapos-0.122
slapos-0.121
slapos-0.120
slapos-0.119
slapos-0.118
slapos-0.117.1
slapos-0.117
slapos-0.116
slapos-0.115
slapos-0.114
slapos-0.113
slapos-0.112
slapos-0.111
slapos-0.110
slapos-0.109
slapos-0.108
slapos-0.107
slapos-0.106
slapos-0.105
slapos-0.104
slapos-0.103
slapos-0.102
slapos-0.101
slapos-0.100
slapos-0.99
slapos-0.98.2
slapos-0.98.1
slapos-0.98
slapos-0.97
slapos-0.96
slapos-0.95
slapos-0.94
slapos-0.93
slapos-0.92
slapos-0.91
slapos-0.90
slapos-0.89
slapos-0.88
slapos-0.87
slapos-0.86
slapos-0.85
slapos-0.84
slapos-0.83
slapos-0.82
slapos-0.81
slapos-0.80
slapos-0.79
slapos-0.78
slapos-0.77
slapos-0.76
slapos-0.75.2
slapos-0.75.1
slapos-0.75
slapos-0.74
slapos-0.73.1
slapos-0.73
slapos-0.72
slapos-0.71
slapos-0.70
slapos-0.69
slapos-0.68
slapos-0.67
slapos-0.66
slapos-0.65
slapos-0.64
slapos-0.63
slapos-0.62
slapos-0.61
slapos-0.60
mr80_review_2
frontend_parameter_doc_review1
erp5-cluster-0.1.1
cygwin-resstack-3
cygwin-resstack-2
cygwin-resstack-1
cygwin-cachetest-4
cygwin-cachetest-3
cygwin-cachetest-2
cygwin-cachetest-1
apache_frontend_prod_test
CR1094
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
260 additions
and
0 deletions
+260
-0
software/lamp-template/software-static-web-page.cfg
software/lamp-template/software-static-web-page.cfg
+53
-0
software/lamp-template/software.cfg
software/lamp-template/software.cfg
+65
-0
software/lamp-template/template-lamp.cfg
software/lamp-template/template-lamp.cfg
+17
-0
software/lamp-template/template-static-web-page.cfg
software/lamp-template/template-static-web-page.cfg
+10
-0
software/lamp-template/template/phpmyadmin.inc.php.in
software/lamp-template/template/phpmyadmin.inc.php.in
+25
-0
software/lamp-template/template/wp-config.php.in
software/lamp-template/template/wp-config.php.in
+90
-0
No files found.
software/lamp-template/software-static-web-page.cfg
0 → 100644
View file @
53c83291
[buildout]
versions = versions
parts =
template
apache
eggs
instance-recipe-egg
downloadcache-workaround
extends =
http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/stack/lamp.cfg
http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/component/apache/buildout.cfg
http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/stack/shacache-client.cfg
[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
[instance-recipe]
egg = slapos.cookbook
module = osoeslaptraining.static
[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-005
[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
This diff is collapsed.
Click to expand it.
software/lamp-template/software.cfg
0 → 100644
View file @
53c83291
[buildout]
versions = versions
parts =
template
apache-php
mariadb
eggs
instance-recipe-egg
downloadcache-workaround
extends =
http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/stack/lamp.cfg
http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/stack/shacache-client.cfg
[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
[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 = osoeslaptraining.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-005
[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
This diff is collapsed.
Click to expand it.
software/lamp-template/template-lamp.cfg
0 → 100644
View file @
53c83291
[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
This diff is collapsed.
Click to expand it.
software/lamp-template/template-static-web-page.cfg
0 → 100644
View file @
53c83291
[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}
httpd_binary = ${apache:location}/bin/httpd
This diff is collapsed.
Click to expand it.
software/lamp-template/template/phpmyadmin.inc.php.in
0 → 100644
View file @
53c83291
<?php
$cfg
[
'blowfish_secret'
]
=
''
;
/* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
$i
=
0
;
$i
++
;
/* Server parameters */
$cfg
[
'Servers'
][
$i
][
'host'
]
=
'Put here mysql host template key'
;
$cfg
[
'Servers'
][
$i
][
'port'
]
=
'Put here mysql port template key'
;
/* Authentication type */
$cfg
[
'Servers'
][
$i
][
'auth_type'
]
=
'cookie'
;
$cfg
[
'Servers'
][
$i
][
'user'
]
=
''
;
$cfg
[
'Servers'
][
$i
][
'connect_type'
]
=
'tcp'
;
$cfg
[
'Servers'
][
$i
][
'compress'
]
=
false
;
/* Select mysqli if your server has it */
$cfg
[
'Servers'
][
$i
][
'extension'
]
=
'mysql'
;
$cfg
[
'Servers'
][
$i
][
'AllowNoPassword'
]
=
false
;
/* rajk - for blobstreaming */
$cfg
[
'Servers'
][
$i
][
'bs_garbage_threshold'
]
=
50
;
$cfg
[
'Servers'
][
$i
][
'bs_repository_threshold'
]
=
'32M'
;
$cfg
[
'Servers'
][
$i
][
'bs_temp_blob_timeout'
]
=
600
;
$cfg
[
'Servers'
][
$i
][
'bs_temp_log_threshold'
]
=
'32M'
;
$cfg
[
'UploadDir'
]
=
''
;
$cfg
[
'SaveDir'
]
=
''
;
?>
This diff is collapsed.
Click to expand it.
software/lamp-template/template/wp-config.php.in
0 → 100644
View file @
53c83291
<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define
(
'DB_NAME'
,
'Put here mysql database name template key'
);
/** MySQL database username */
define
(
'DB_USER'
,
'Put here mysql user template key'
);
/** MySQL database password */
define
(
'DB_PASSWORD'
,
'Put here mysql password template key'
);
/** MySQL hostname */
define
(
'DB_HOST'
,
'Put here mysql host template key'
);
/** Database Charset to use in creating database tables. */
define
(
'DB_CHARSET'
,
'utf8'
);
/** The Database Collate type. Don't change this if in doubt. */
define
(
'DB_COLLATE'
,
''
);
/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define
(
'AUTH_KEY'
,
'put your unique phrase here'
);
define
(
'SECURE_AUTH_KEY'
,
'put your unique phrase here'
);
define
(
'LOGGED_IN_KEY'
,
'put your unique phrase here'
);
define
(
'NONCE_KEY'
,
'put your unique phrase here'
);
define
(
'AUTH_SALT'
,
'put your unique phrase here'
);
define
(
'SECURE_AUTH_SALT'
,
'put your unique phrase here'
);
define
(
'LOGGED_IN_SALT'
,
'put your unique phrase here'
);
define
(
'NONCE_SALT'
,
'put your unique phrase here'
);
/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$table_prefix
=
'wp_'
;
/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
* language support.
*/
define
(
'WPLANG'
,
''
);
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define
(
'WP_DEBUG'
,
false
);
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if
(
!
defined
(
'ABSPATH'
)
)
define
(
'ABSPATH'
,
dirname
(
__FILE__
)
.
'/'
);
/** Sets up WordPress vars and included files. */
require_once
(
ABSPATH
.
'wp-settings.php'
);
This diff is collapsed.
Click to expand it.
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