Update README
This commit is contained in:
parent
3772160a29
commit
ed474bd94c
16
README.md
16
README.md
@ -1,24 +1,30 @@
|
|||||||
|
|
||||||
|
# Arteleku Drupal + Islandora
|
||||||
|
|
||||||
# Create Database directory
|
## Copy Drupal files from your data_path
|
||||||
|
|
||||||
|
mkdir data
|
||||||
|
cp -R <data_path>/ data/
|
||||||
|
|
||||||
|
## Create Database directory
|
||||||
|
|
||||||
mkdir db
|
mkdir db
|
||||||
chown -R 1000:1000 db
|
chown -R 1000:1000 db
|
||||||
|
|
||||||
# Build Custom Drupal Image
|
## Build Custom Drupal Image
|
||||||
|
|
||||||
docker-compose build
|
docker-compose build
|
||||||
|
|
||||||
# Configure environment
|
## Configure environment
|
||||||
|
|
||||||
cp env.sample .env
|
cp env.sample .env
|
||||||
vim .env
|
vim .env
|
||||||
|
|
||||||
# Start services
|
## Start services
|
||||||
|
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
|
|
||||||
# Import Database
|
## Import Database
|
||||||
|
|
||||||
docker exec -i <container_id> mysql -u<mysql-user> -p<mysql-pass> <mysql-database> < database.dump.sql
|
docker exec -i <container_id> mysql -u<mysql-user> -p<mysql-pass> <mysql-database> < database.dump.sql
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user