2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00
Former-commit-id: e5ee9da08c
This commit is contained in:
vishalseshagiri 2017-08-02 18:22:34 +05:30
parent 2e38d7d921
commit dc5add7526
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ install:
- docker exec -i -u root frappe bash -c "echo 127.0.0.1 site1.local >> /etc/hosts"
- sudo su -c 'echo 127.0.0.1 site1.local >> /etc/hosts'
- docker exec -id frappe bash -c "bench start"
- pip install requests
script:
- docker-compose ps | grep -i frappe

View File

@ -1,6 +1,6 @@
import subprocess,requests,time
time.wait(45)
time.sleep(45)
try:
r = requests.get("site1.local:8000")