Coder Social home page Coder Social logo

liangfengmic / kunlun-xpanel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zettadb/kunlun-xpanel

0.0 0.0 0.0 119.62 MB

The fantastic tools used to manager

License: Apache License 2.0

Shell 0.01% JavaScript 1.42% PHP 39.58% CSS 0.10% HTML 48.61% Batchfile 0.01% Vue 10.17% Less 0.02% SCSS 0.10%

kunlun-xpanel's Introduction

Kunlun-XPanel

The fantastic tools used to manager

说明

开发环境 Windows 10 nodejs 14.14.0 Apache 2.4.48 x64 PHP Version 7.3.30

技术栈

vue2 + vuex + vue-router + webpack + ES6/7 + less + element-ui+PHP

运行前准备

由于此项目是基于nodejs+php的前后端结合项目,你需要进行nodejs的相关准备工作。项目运行之前,请确保系统已经安装以下应用:
(1)、node (6.0 及以上版本)。使用细节,请参考:node的下载及安装
(2)、Apache 。使用细节,请参考:apache的下载及安装
(3)、PHP(7.3及以上版本)。使用细节,请参考:PHP的下载及安装
(4)、安装PHP的mysql和pgsql扩展。请参考:PHP官方的扩展库
注意:安装完成PHP后,记得重启Apache。

项目运行

#克隆到本地
git clone https://github.com/zettadb/Kunlun-XPanel.git
#进入文件夹
cd Kunlun-XPanel/KunlunXPanel
#安装依赖
npm install
#修改成自己的ip,port
生产环境:vi Kunlun-XPanel/KunlunXPanel/.env.production
开发环境:vi Kunlun-XPanel/KunlunXPanel/.env.development
VUE_APP_BASE_API为apache的环境路径
VUE_APP_INTERFACE_API为cluste_mgr路径
#开启本地服务器http://localhost:9528
npm run dev
#发布生产环境
npm run build:prod
#生产环境部署
把monitor、dist(dist文件在Kunlun-XPanel/KunlunXPanel目录下)和index.php文件都放到apache的/var/www/html/路径下
mv dist KunlunXPanel
http://ip:port/KunlunXPanel访问即可
默认账号密码均为super_dba

kunlun-xpanel's People

Contributors

fangfang55 avatar yuer1203 avatar jd-zhang 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.