1 Star 1 Fork 2

尹简凝 / vue-element-frontend-backend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
INSTALL_CN.md 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
laoseng005 提交于 2019-10-15 10:03 . Update INSTALL_CN.md

描述

该项目 是open_galaxy的demo版本,open_galaxy项目使用python+django+vue+restful 技术以及框架。 demo版本是 项目的一个简化版本,技术框架一样。 open_galaxy项目请查看 http://www.bdkyr.com/open_galaxy/cn/

##作者 老僧(QQ:1572665580),飞龙(hhr66@qq.com)

环境

Centos 6
Python 3.6.1
mysql-server 5.6.21
node 9.4.0
Django==2.1.4
djangorestframework==3.9.0

如何运行

Clone the repository:

    git clone git@github.com:DevOpsUnionTop/vue-element-frontend-backend.git

创建 and 激活 virtualenv:

cd vue-element-frontend-backend
➜  virtualenv -p python3 env
source env/bin/activate

Run scripts from Makefile that install all dependencies, run migrations and start dev server.

(env) ➜  mysql -uroot -p -e "create database open_galaxy default charset utf8;"
(env)cp vue-element-frontend-backend/.env_example vue-element-frontend-backend/.env  #按照 自己的数据库,redis 等进行配置  
(env) ➜  make init
(env) ➜  make dev
(env) ➜  make build-prod
(env) ➜  make start

Nginx 配置文件 --

生产  请使用  项目中  demo.opengalaxy.com.conf     配置文件
开发  请使用  项目中  demo.dev.opengalaxy.com.conf 配置文件

We are done.

dev

prod

默认管理员账号:admin 密码:admin@123

1
https://gitee.com/yin_jian_ning/vue-element-frontend-backend.git
git@gitee.com:yin_jian_ning/vue-element-frontend-backend.git
yin_jian_ning
vue-element-frontend-backend
vue-element-frontend-backend
master

搜索帮助