diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 342a0e1..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "theme"] - path = theme - url = git@git.xiongxiao.me:kevisual/theme.git diff --git a/README.md b/README.md index e6717da..42f3d85 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,25 @@ -# envision +# envision center -光明 +一个可以搭建自己的一个平台模块。 + +``` +query.post({ + 'path': 'app', + 'key': 'publish', + 'data': { + 'id': "" + } +}) +``` + +## 核心的功能模块 + +因为在多级路由下,react的app应用,必须使用domain,并且必须要把打包的路径修改为绝对路径,否则会有路有不可访问的问题。 + +当前的应用的功能,为envision的核心模块。组件一个微应用必须的模块内容。 + +- User 用户登陆和用户信息模块 +- App Module 用户的App的应用管理 +- File Manager 文件管理平台,App的部署位置为File Manager当中 +- Container Simple 代码Container模块 +- Org 组织模块,所有应用的模块为组织内部应用。 diff --git a/docker/Dockerfile b/docker/Dockerfile deleted file mode 100644 index 388525b..0000000 --- a/docker/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -# Use the official Nginx image based on Alpine -FROM nginx:alpine - -WORKDIR /app - -# Copy the contents of the dist directory to the Nginx html directory -COPY dist/ /default-app/ - -# 删除默认的defult.conf -RUN rm /etc/nginx/conf.d/default.conf - -COPY default.conf /etc/nginx/conf.d/default.conf - -COPY app-init.sh /app-init.sh -RUN chmod +x /app-init.sh - -# Expose port 80 -EXPOSE 80 - -# 使用启动脚本作为 ENTRYPOINT -ENTRYPOINT ["/app-init.sh"] - -# Start Nginx -# CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/docker/app-init.sh b/docker/app-init.sh deleted file mode 100644 index 4332494..0000000 --- a/docker/app-init.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# 宿主机挂载路径 -TARGET_DIR="/app" - -# 检查目录是否为空 -if [ -z "$(ls -A $TARGET_DIR)" ]; then - echo "Directory is empty. Copying default content..." - cp -r /default-app/* $TARGET_DIR/ -else - echo "Directory is not empty. Skipping copy." -fi - -# 启动应用或保持容器运行 -# exec "$@" - -nginx -g "daemon off;" \ No newline at end of file diff --git a/docker/default.conf b/docker/default.conf deleted file mode 100644 index ed15748..0000000 --- a/docker/default.conf +++ /dev/null @@ -1,9 +0,0 @@ - -server { - listen 80; - listen [::]:80; - root /app; - location / { - try_files $uri $uri/ /index.html; - } -} \ No newline at end of file diff --git a/index.html b/index.html index 72e1576..dab4a40 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,8 @@
-code: {code}
-access_token: {githubStore.githubToken}
-{JSON.stringify(selected, null, 2)}*/} -