Compare commits
4 Commits
7290f7d1ad
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| fc57279f57 | |||
| 04a29e7d13 | |||
| 64540554a9 | |||
| 76123f2fe6 |
@@ -6,4 +6,4 @@ RUN apt-get update \
|
||||
|
||||
COPY ./default.conf /etc/nginx/conf.d/default.conf
|
||||
COPY ./bashrc /root/.bashrc
|
||||
COPY ./inputrc /root/.inputrc
|
||||
COPY ./inputrc /root/.inputrc
|
||||
3
Makefile
3
Makefile
@@ -24,6 +24,9 @@ build:
|
||||
buildnc:
|
||||
docker-compose build --no-cache --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME)
|
||||
|
||||
buildnc_mysql:
|
||||
docker-compose build --no-cache --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME) mysql
|
||||
|
||||
downbuildup: down build up
|
||||
|
||||
up:
|
||||
|
||||
@@ -44,9 +44,6 @@ cp -r ressources/drupal/services.yml src/web/sites/default/
|
||||
### get the sites/default/files folder
|
||||
rsync the files from you know where (if you don't, you don't) to src/sites/default/files/
|
||||
|
||||
### xdebug
|
||||
copy ```ressources/xdebug.ini.exemple``` to ```ressources/xdebug.ini``` and edit the ```xdebug.remote_host``` ip to your host locale ip (e.g. : 192.168.0.23) (or once the docker is started to the host ip from the container point of vu e.g. 172.21.0.1)
|
||||
|
||||
## Mysql
|
||||
Copy your-sql-dump.sql files into ```./ressources/erable.sql```
|
||||
They will be automaticly imported into the mysql containers dbs (only) on the first docker-compose up
|
||||
@@ -159,7 +156,7 @@ make up
|
||||
Be aware that a first up, since the db is empty, it will be populated with your files ressources/db_d7.sql and ressources/db_d9.sql. It may take some time depending of your db size.
|
||||
|
||||
## Drupal Composer install
|
||||
Only at first up, finish to install drupal 9 composer dependencies
|
||||
Only at first up, finish to install drupal composer dependencies
|
||||
```sh
|
||||
make exec_php
|
||||
composer install
|
||||
@@ -168,7 +165,7 @@ make composer_install
|
||||
```
|
||||
|
||||
## Visualize
|
||||
You can now visit http://dev.d7.erable.archi.fr and http://dev.d9.erable.archi.fr on your browser
|
||||
You can now visit http://dev.erable.fr on your browser
|
||||
After the first run
|
||||
|
||||
## Coding
|
||||
@@ -297,4 +294,5 @@ exec_mysql:
|
||||
dump_db:
|
||||
docker exec erable-mysql-1 sh -c 'exec mysqldump -uroot -perable erable' > ./ressources/erable-$(DATE_NOW)-local.sql
|
||||
|
||||
|
||||
```
|
||||
|
||||
2
src
2
src
Submodule src updated: 959622891e...289cb7b399
Reference in New Issue
Block a user