Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
drupal
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BFA Sitio Web
drupal
Commits
2ec9fdc2
Commit
2ec9fdc2
authored
6 years ago
by
Otto Zaiser
Browse files
Options
Downloads
Patches
Plain Diff
Cambios en README para instalación en nginx
parent
c0b4f16f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+44
-4
44 additions, 4 deletions
README.md
with
44 additions
and
4 deletions
README.md
+
44
−
4
View file @
2ec9fdc2
...
...
@@ -8,17 +8,17 @@ Instala la versión de Drupal 8.6 y los módulos detallados en el composer
-
PHP 7 o superior.
-
Composer 1.7 o superior.
-
Base de datos MySQL o MariaDB 5+
-
Servidor Web Apache o Nin
g
x
-
Servidor Web Apache o N
g
inx
## Instalación
## Instalación general
1.
Clonar este repositorio.
2.
Ejecutar el comando de instalación
```
sh
composer
install
```
3.
Apuntar la configuración del vhost a la carpeta
**"web"**
de este proyecto.
4.
Crear una base de datos para el proyecto
5.
Importar base de datos
...
...
@@ -26,3 +26,43 @@ Instala la versión de Drupal 8.6 y los módulos detallados en el composer
7.
Bajar los archivos y db.
8.
Levantar el contenido del archivo .sql a la base de datos creada
9.
Extraer el contenidos del archivo .tar.gz en sites/default/(files)
## Instalación en Nginx
1.
Instalar Composer (https://getcomposer.org/download/)
*(no funciona con apt-get)*
```
sh
php
-r
"copy('https://getcomposer.org/installer', 'composer-setup.php');"
php
-r
"if (hash_file('SHA384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php
-r
"unlink('composer-setup.php');"
mv
composer.phar /usr/bin/composer
```
2.
Algunos módulos PHP:
```
sh
apt-get
install
php-mbstring
apt
install
php-xml
apt-get
install
php-mysql
```
3. Clonar este repo en /var/www/bfa
4. Ejecutar el comando de instalación de Composer
```
sh
composer
install
```
5. Copiar, apuntar a la y linkear server blocks
(
https://www.nginx.com/resources/wiki/start/topics/recipes/drupal/
)
en /etc/nginx/sites-available/drupal
```
sh
ln -s /etc/nginx/sites-available/drupal /etc/nginx/sites-enabled/drupal
service nginx restart
```
6. Importar base de datos
7. Configurar datos de base de datos en /var/www/bfa/web/sites/default/settings.php
8. Extraer el contenidos del archivo .tar.gz en sites/default/(files)
Para limpiar caché del Drupal ejecutar
```
sh
/var/www/bfa/vendor/drush/drush/drush cr
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment