bugfix: copy folder `dashboard` to apisix home.
diff --git a/Makefile b/Makefile
index 2ac7952..5934e34 100644
--- a/Makefile
+++ b/Makefile
@@ -81,6 +81,14 @@
### install: Install the apisix
.PHONY: install
install:
+ $(INSTALL) -d /usr/local/apisix/dashboard
+ cd `mktemp -d /tmp/apisix.XXXXXX` && \
+ git clone -b v0.6 https://github.com/iresty/apisix.git && \
+ cd apisix && \
+ git submodule update --init --recursive && \
+ cp -r dashboard/* /usr/local/apisix/dashboard
+ chmod -R 644 /usr/local/apisix/dashboard
+
$(INSTALL) -d /usr/local/apisix/logs/
$(INSTALL) -d /usr/local/apisix/conf/cert
$(INSTALL) conf/mime.types /usr/local/apisix/conf/mime.types