mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-18 22:25: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
|
||||
|
||||
install:
|
||||
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
|
||||
- docker-compose build
|
||||
- mkdir -p ~/docker; docker save frappedocker_frappe > ~/docker/image.tar
|
||||
- docker-compose up -d
|
||||
- ./dbench init -d
|
||||
- pip install --upgrade virtualenv
|
||||
|
|
@ -29,9 +27,4 @@ script:
|
|||
- docker-compose ps | grep -i redis-socketio
|
||||
- docker-compose ps | grep -i mariadb
|
||||
- python test.py
|
||||
- docker-compose stop
|
||||
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- ~/docker
|
||||
- docker-compose stop
|
||||
2
dbench
2
dbench
|
|
@ -40,7 +40,7 @@ then
|
|||
elif [[ $1 == 'init' && $2 == 'd' ]]
|
||||
then
|
||||
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' ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Reference in a new issue