All Projects → opendevops-cn → Codo

opendevops-cn / Codo

Licence: mit
基于Vue + Iview-Admin实现的一套后台管理系统

Projects that are alternatives of or similar to Codo

Opendevops
CODO是一款为用户提供企业多混合云、一站式DevOps、自动化运维、完全开源的云管理平台、自动化运维平台
Stars: ✭ 2,990 (+1638.37%)
Mutual labels:  devops, iview
Kitten
Tiny multi-server automation tool
Stars: ✭ 171 (-0.58%)
Mutual labels:  devops
Abbreviate
Supporting your devops by shortening your strings using common abbreviations and clever guesswork
Stars: ✭ 160 (-6.98%)
Mutual labels:  devops
Dellemc Openmanage Ansible Modules
Dell EMC OpenManage Ansible Modules
Stars: ✭ 169 (-1.74%)
Mutual labels:  devops
Devshop
Open Source DevOps Framework
Stars: ✭ 161 (-6.4%)
Mutual labels:  devops
Devspace
DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
Stars: ✭ 2,559 (+1387.79%)
Mutual labels:  devops
Ghactions
GitHub actions for R and accompanying R package
Stars: ✭ 159 (-7.56%)
Mutual labels:  devops
Choerodon
Open Source Multi-Cloud Integrated Platform
Stars: ✭ 2,149 (+1149.42%)
Mutual labels:  devops
Nexus3 Oss
Ansible role to install and provision sonatype nexus3-oss
Stars: ✭ 169 (-1.74%)
Mutual labels:  devops
Terraform Aws Cloudtrail Cloudwatch Alarms
Terraform module for creating alarms for tracking important changes and occurrences from cloudtrail.
Stars: ✭ 170 (-1.16%)
Mutual labels:  devops
Goemon
五右衛門
Stars: ✭ 169 (-1.74%)
Mutual labels:  devops
Mobile.buildtools
The Mobile.BuildTools makes it easier to develop code bases in a clean, consistent, secure, and configurable way. Determine at Build which environment your app needs to run on, and what Client Secrets it should have. Plus many more amazing features!
Stars: ✭ 162 (-5.81%)
Mutual labels:  devops
Daily Question
互联网大厂内推及大厂面经整理,并且每天一道面试题推送。每天五分钟,半年大厂中
Stars: ✭ 2,952 (+1616.28%)
Mutual labels:  devops
Netbox As Ansible Inventory
Ansible dynamic inventory script for Netbox.
Stars: ✭ 161 (-6.4%)
Mutual labels:  devops
Ostent
Ostent is a server tool to collect, display and report system metrics.
Stars: ✭ 171 (-0.58%)
Mutual labels:  devops
Tecli
In a world where everything is Terraform, teams use Terraform Cloud API to manage their workloads. TECLI increases teams productivity by facilitating such interaction and by providing easy commands that can be executed on a terminal or on CI/CD systems.
Stars: ✭ 158 (-8.14%)
Mutual labels:  devops
Solo Ci
A lightweight CI/CD tool powered by Golang
Stars: ✭ 168 (-2.33%)
Mutual labels:  devops
Devsecops
🔱 Collection and Roadmap for everyone who wants DevSecOps.
Stars: ✭ 171 (-0.58%)
Mutual labels:  devops
Xrm Ci Framework
xRM CI Framework provides you with the tools automate the build and deployment of your CRM Solution. Using the framework to implement a fully automated DevOps pipeline will allow you to deploy more frequently with added consistency and quality.
Stars: ✭ 172 (+0%)
Mutual labels:  devops
Docker Security Images
🔐 Docker Container for Penetration Testing & Security
Stars: ✭ 172 (+0%)
Mutual labels:  devops

Install

// install dependencies
npm install --ignore-script

Run

Development

npm run dev

Production(Build)

npm run build

Docker 方式部署

修改CODO_VERrelease为最新的版本,静态文件的最终路径为 /var/www/codo/

echo -e "\033[32m [INFO]: codo(项目前端) Start install. \033[0m"
CODO_VER="codo-beta-0.3.4"
if ! which wget &>/dev/null; then yum install -y wget >/dev/null 2>&1;fi
[ ! -d /var/www ] && mkdir -p /var/www
cd /var/www && wget https://github.com/opendevops-cn/codo/releases/download/${CODO_VER}/${CODO_VER}.tar.gz
tar zxf ${CODO_VER}.tar.gz
if [ $? == 0 ];then
    echo -e "\033[32m [INFO]: codo(项目前端) install success. \033[0m"
else
    echo -e "\033[31m [ERROR]: codo(项目前端) install faild \033[0m"
    exit -8
fi

放置nginx配置文件,如果想使用https请自行修改nginx的配置文件,也可以参考项目下的nginx_ops.conf文件。

如果需要修改前端的访问域名可以直接修改配置文件中的server_name,proxy_pass对应的地址为网关地址,一定要和网关地址端口进行对应。

mkdir -p /my/nginx/conf.d/
cat >/my/nginx/conf.d/codo-init.conf<<\EOF
server {
        listen       80;
        server_name demo-init.opendevops.cn;
        access_log /var/log/nginx/codo-access.log;
        error_log  /var/log/nginx/codo-error.log;

        location / {
                    root /var/www/codo;
                    index index.html index.htm;
                    try_files $uri $uri/ /index.html;
        }
        location /api {
                ### ws 支持
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                add_header 'Access-Control-Allow-Origin' '*';
                proxy_pass http://gw.opendevops.cn:8888;
        }

        location ~ /(.svn|.git|admin|manage|.sh|.bash)$ {
            return 403;
        }
}
EOF
#bulid 镜像
docker build . -t codo_image
#启动
docker-compose up -d
  • 测试一下 ls /var/www/codo/index.html 看下前端文件是不是存在
  • 测试一下 ls /my/nginx/conf.d/codo-init.conf 看下nginx配置文件是不是存在
  • swagger-ui 复制到/var/www/codo/目录即可,详情请参考安装文档。 命令如下:cd /opt/codo/codo && \cp -r swagger-ui/ /var/www/codo/

License

MIT

Copyright (c) 2016-present, iView

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].