2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-23 18:48:58 +00:00

Fixed the permissions issue in travis.yml

This commit is contained in:
vishalseshagiri 2017-08-02 17:39:33 +05:30
parent d3fce5cec0
commit 8d380f2e4a

View File

@ -10,6 +10,7 @@ services:
install: install:
- docker-compose build - docker-compose build
- docker-compose up -d - docker-compose up -d
- docker exec -it -u root frappe bash -c "cd /home/frappe && chown -R frappe:frappe ./*"
- docker exec -i frappe bash -c "cd .. && bench init frappe-bench --skip-bench-mkdir --skip-redis-config-generation && cd frappe-bench" - docker exec -i frappe bash -c "cd .. && bench init frappe-bench --skip-bench-mkdir --skip-redis-config-generation && cd frappe-bench"
- docker exec -i frappe bash -c "mv Procfile_docker Procfile && mv sites/common_site_config_docker.json sites/common_site_config.json" - docker exec -i frappe bash -c "mv Procfile_docker Procfile && mv sites/common_site_config_docker.json sites/common_site_config.json"
- docker exec -i frappe bash -c "bench get-app erpnext https://github.com/frappe/erpnext" - docker exec -i frappe bash -c "bench get-app erpnext https://github.com/frappe/erpnext"