mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 07:45:09 +00:00
fixing dbench and removing cache, its not worth it
This commit is contained in:
parent
e421a9a23c
commit
3546d01053
2 changed files with 2 additions and 9 deletions
|
|
@ -12,9 +12,7 @@ services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
|
|
||||||
- docker-compose build
|
- docker-compose build
|
||||||
- mkdir -p ~/docker; docker save frappedocker_frappe > ~/docker/image.tar
|
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
- ./dbench init -d
|
- ./dbench init -d
|
||||||
- pip install --upgrade virtualenv
|
- pip install --upgrade virtualenv
|
||||||
|
|
@ -29,9 +27,4 @@ script:
|
||||||
- docker-compose ps | grep -i redis-socketio
|
- docker-compose ps | grep -i redis-socketio
|
||||||
- docker-compose ps | grep -i mariadb
|
- docker-compose ps | grep -i mariadb
|
||||||
- python test.py
|
- python test.py
|
||||||
- docker-compose stop
|
- docker-compose stop
|
||||||
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- ~/docker
|
|
||||||
2
dbench
2
dbench
|
|
@ -40,7 +40,7 @@ then
|
||||||
elif [[ $1 == 'init' && $2 == 'd' ]]
|
elif [[ $1 == 'init' && $2 == 'd' ]]
|
||||||
then
|
then
|
||||||
frappe_installer
|
frappe_installer
|
||||||
cat frappe-bench/sites/site1/site_config.json
|
docker exec -it frappe bash -c "cat frappe-bench/sites/site1/site_config.json"
|
||||||
|
|
||||||
elif [ $1 == 'init' ]
|
elif [ $1 == 'init' ]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue