base env is running well, remains to connect drupal to redis cache.backend

This commit is contained in:
Bachir Soussi Chiadmi
2018-01-21 20:38:30 +01:00
parent dce9f3958d
commit 1207d92b08
6 changed files with 38 additions and 10 deletions
+12 -4
View File
@@ -23,7 +23,7 @@ git clone --recursive -o figli https://figureslibres.io/gogs/bachir/docker-edlp-
get the files from where you have it and rsync it to public_html/sites/default/files/
## Mysql
Copy your-sql-dump.sql into ./ressources/db.sql
Copy your-sql-dump.sql into ./ressources/edlp_d8.sql
It will be automaticly imported into the mysql container db (only) on the first docker-compose up
## Hosts and reverse proxy
@@ -64,9 +64,15 @@ sudo docker-compose up -d
```
Be aware that a first up, since the db is empty, it will be populated with your file db.sql. It may take some time depending of your db size.
## Druapal Composer install
Only at first up, finish to install drupal composer dependencies
```
sudo docker exec -it edlpd8_php_1 bash
composer install
```
## Visualize
You can now visit http://dev.encyclopediedelaparole.org on your browser
After the first run
## Coding
### drush
@@ -80,7 +86,7 @@ once inside the php container in /var/www/html you can use drush as usual
Dev process needs gulp to run in:
- public_html/sites/all/modules/figli/edlp_corpus/
- public_html/sites/all/themes/custom/edlptheme/
if you have to modifie js or scss source code, you need to do in each of these 2 folder:
if you have to modifie js or scss source code, you need to do in each of these 2 folder:
```
npm install
gulp
@@ -105,4 +111,6 @@ http://tech.osteel.me/posts/2017/01/15/how-to-use-docker-for-local-web-developme
https://mmenozzi.github.io/2016/01/22/php-web-development-with-docker/
https://dzone.com/articles/continuous-drupal-maintaining-a-drupal-website-wit
https://dzone.com/articles/continuous-drupal-maintaining-a-drupal-website-wit//
https://github.com/glaux/drupal8docker