GithubHelp home page GithubHelp logo

tangxuke / crayfish Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elemefe/crayfish

0.0 2.0 0.0 213 KB

基于 CDN 的配置管理系统

Home Page: https://elemefe.github.io/crayfish/

Makefile 2.25% JavaScript 93.43% PHP 1.48% HTML 1.87% Shell 0.98%

crayfish's Introduction

Crayfish

Crayfish 是一个将配置发布到 CDN的前端配置管理系统。前端程序直接从 CDN 加载,对后端服务器不会造成任何压力,可被广泛应用于文案、开关管理等。

文档

特点

  • 配置在 CDN 上,没有服务器性能瓶颈
  • 健壮的权限机制,可以从角色和项目两个维度管理权限
  • 配置是有数据类型的,让前端程序可以更准确地使用

快速开始

1. 依赖

  • Node Version: >= 5
  • MySQL Version: >= 5.6

注: MySQL 5.7 请关闭严格模式:http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html

2. 安装与运行

首先为你的 MySQL 准备好一个 crayfish 数据库。可以在 config.jsMAKEFILE 中修改数据库。

安装并启动后端,如果没有任何错误,则为运行成功:

cd backend
make node_modules
make init-database
make run

Crayfish 的前端使用 jinkela 开发,并使用 webspoon 构建。

启动前端,前端会被后端的 koa-static 中间件加载:

cd frontend
make install
make dev

之后访问:http://localhost:8100 即可看到运行成功的 Crayfish。

如果需要在生产环境使用,在根目录 make build 即可。

截图

Screenshot

crayfish's People

Contributors

csvwolf avatar furybean avatar yanagieiichi avatar yhaoao avatar

Watchers

 avatar  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.