shsnc007 / bkapp01 Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
蓝鲸智云应用开发模板--助力你的自动化 这里有各种层次的应用样例,根据你的需要,选择合适的样例开始快速开发。 运行要求说明: # 安装requirements.txt文件中的python包 # 安装mysql,并调整 config\settings_develop.py里的DB用户名和密码 # 数据库初始化: 本模版工程的具体使用过程如下: 1. manage.py migate (初始化数据库表) 2. 针对有表的application创建表: 例如:manage.py migrate app_control # 在项目文件夹同级的目录里建立logs文件夹(如不清楚可以直接runserver后看错误提示信息) 目录说明: --公共包 account:用户登录鉴权 app_control:应用功能开关 common:公用方法(log,decorator, context_processors) static:态文件(css, js, img) templates:模版(django模版和mako模版,如果说ajax的子页面,模版文件可以使用其他后缀,如**.part) -- 配置包 conf:用户配置包 settings_development.py:开发环境配置,如 数据库 settings_testing.py: 测试环境配置 settings_production.py:正式环境配置 --应用包 home_application: 你的根应用包,用于开发你的应用的主要功能,子功能可以单独建立其他的应用包 开发说明: --修改配置文件 conf/default.py 文件:APP_ID \ APP_TOKEN (蓝鲸智云开发者中心 -> 点击应用ID -> 基本信息 中可以查看到这个两个值的信息) conf/default.py 文件:BK_PAAS_HOST(蓝鲸智云开发者中心的域名,形如:http://paas.bking.com) conf/settings_development.py 文件:DATABASES(本地开发数据库信息) conf/settings_testing.py 文件:DATABASES(测试环境数据库信息) conf/settings_production.py 文件:DATABASES(正式环境数据库信息)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.