Makefile 1.1 KB

1234567891011121314151617
  1. PHONY: all
  2. run:
  3. docker-compose -f compose/karmen/docker-compose.yml down
  4. docker-compose -f compose/karmen/docker-compose.yml up --build -d
  5. echo "Uploading files to the cloud..."
  6. sleep 15
  7. curl -u admin:password http://localhost:8080/remote.php/webdav/Documents/List -X MKCOL
  8. curl -u admin:password http://localhost:8080/remote.php/webdav/Documents/List/list.tpl.md -X PUT --data-binary @"./generator/generators/list/example_1/resources/list.tpl.md"
  9. curl -u admin:password http://localhost:8080/remote.php/webdav/Documents/List/reference.odt -X PUT --data-binary @"./generator/generators/list/example_1/resources/reference.odt"
  10. curl -u admin:password http://localhost:8080/remote.php/webdav/Documents/Department -X MKCOL
  11. curl -u admin:password http://localhost:8080/remote.php/webdav/Documents/Department/template.md -X PUT --data-binary @"./generator/generators/department/example_1/resources/template.md"
  12. curl -u admin:password http://localhost:8080/remote.php/webdav/Documents/Department/reference.odt -X PUT --data-binary @"./generator/generators/department/example_1/resources/reference.odt"
  13. all: run