Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| info:concrete5:59:createc59 [2025/09/19 04:52] – supprimée - modification externe (Date inconnue) 127.0.0.1 | info:concrete5:59:createc59 [2025/09/19 04:52] (Version actuelle) – radeff | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | ====== bash script to create concretecms website ====== | ||
| + | |||
| + | <code bash> | ||
| + | #! / | ||
| + | |||
| + | # c58_create.sh | ||
| + | # doc https:// | ||
| + | # | ||
| + | # Copyright 2017 radeff.red < | ||
| + | # | ||
| + | # 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. | ||
| + | # | ||
| + | # This program is distributed in the hope that it will be useful, | ||
| + | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| + | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
| + | # GNU General Public License for more details. | ||
| + | # | ||
| + | # You should have received a copy of the GNU General Public License | ||
| + | # along with this program; if not, write to the Free Software | ||
| + | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
| + | # MA 02110-1301, USA. | ||
| + | |||
| + | echo " | ||
| + | echo "##########################" | ||
| + | |||
| + | echo " | ||
| + | read site | ||
| + | |||
| + | echo " | ||
| + | read dbname | ||
| + | |||
| + | echo "mySql server (eg localhost)" | ||
| + | read sqlhost | ||
| + | |||
| + | echo " | ||
| + | read dbusername | ||
| + | |||
| + | echo " | ||
| + | read dbpwd | ||
| + | |||
| + | | ||
| + | |||
| + | echo "admin password" | ||
| + | read adminpwd | ||
| + | |||
| + | echo 'do you want to make a copy of c5 files in the current directory: (" | ||
| + | pwd | ||
| + | read copier | ||
| + | |||
| + | if [[ " | ||
| + | rsync -az / | ||
| + | #echo " | ||
| + | fi | ||
| + | |||
| + | concrete/ | ||
| + | |||
| + | # | ||
| + | </ | ||
| + | |||
| + | {{tag>c5 c59}} | ||