mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-19 06:35:10 +00:00
mend
This commit is contained in:
parent
12685970e8
commit
e5ee9da08c
2 changed files with 2 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ install:
|
||||||
- docker exec -i -u root frappe bash -c "echo 127.0.0.1 site1.local >> /etc/hosts"
|
- 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'
|
- sudo su -c 'echo 127.0.0.1 site1.local >> /etc/hosts'
|
||||||
- docker exec -id frappe bash -c "bench start"
|
- docker exec -id frappe bash -c "bench start"
|
||||||
|
- pip install requests
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- docker-compose ps | grep -i frappe
|
- docker-compose ps | grep -i frappe
|
||||||
|
|
|
||||||
2
test.py
2
test.py
|
|
@ -1,6 +1,6 @@
|
||||||
import subprocess,requests,time
|
import subprocess,requests,time
|
||||||
|
|
||||||
time.wait(45)
|
time.sleep(45)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
r = requests.get("site1.local:8000")
|
r = requests.get("site1.local:8000")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue