Git Product home page Git Product logo

wen006 / ovineherd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ovineio/ovineherd

0.0 0.0 0.0 27.44 MB

A platform for build web admin system app. (测试账号 demo110/demo110)

Home Page: http://ovine.igroupes.com/platform/center/org/127350080645627904/application

License: Apache License 2.0

JavaScript 2.01% HTML 1.45% Less 0.03% TypeScript 42.98% EJS 0.29% SCSS 0.01% Go 26.92% Shell 0.05% PLpgSQL 26.28%

ovineherd's Introduction

Ovine Herd

可在线构建管理系统 � 应用的平台。本项目为前后端分离架构。前端采用 react与微前端 技术栈,后端采用 golang 开发。

前端部分

本地开发启动前端部分 前端部分文档

  • yarn install 安装本项目基础依赖
  • yarn all:install 安装子应用依赖,由于网络问题,全部安装,极其容易出错,当某个子应用安装出错,可以只对某一个重新安装就行,不需要每次都重复执行这一个命令
  • yarn all:gen 生成子应用静态文件
  • yarn all:start 启动所有项目
注意:

前端项目详细文档

由于本地使用了 localhost:7049 作为 API 接口,因此需要你在本地启动API服务。(本地API服务启动方式,见下方)如果你不需要本地启动服务器,可以使用测试服 API,可以将 对应配置注释即可。

  • apps/platform/src/core/env.tslocalhost.domains.api 注释
  • apps/rubik/src/core/env.tslocalhost.domains.api 注释

比如:

// 本地开发
  localhost: {
    domains: {
      // api: 'http://localhost:7049', // 注释此行,即可使用测试服API
    },
  }

访问路由

  • http://localhost:7060/platform/center/sys/admin 平台用户登录
    • 如果是测试服 API 可使用: super01/super01 登录

服务端部分

服务端部分代码 ./server/uniadmin/

本地开发启动后端部分

  • 配置项目: 修改 ./server/uniadmin/conf/app.conf 对应内容
  • 初始化mysql数据库(有以下两选择)
    • 方案1: 执行 ./server/uniadmin/conf/ovineherd_demo.sql 初始化带有demo数据数据库,可以快速上手使用。 平台登录账号 rootadmin/admin123
    • 方案2: 执行 ./server/uniadmin/conf/db_tables.sql 初始化空数据库,数据需要自己手动添加
  • 启动服务
    • windows
      • 项目配置,初始化数据库后,直接执行 ./server/uniadmin/base_service.exe
    • linux/macos
      • 安装 golang 运行环境
      • 在当前项目根目录下执行:yarn start:server:uniadmin
注意:

目前新版本正在研发,新版本将不再使用此后端部分。

ovineherd's People

Contributors

jinmingpang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.