mapleroid / wsgi_sample Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
配置etc/app-paste.ini文件,设置URL映射的入口.
入口为:app/api/v1/route.py的API工厂类
init文件中的对应配置:udkm.api.v1.router:API.factory
该文件目前的import代码:
`import datetime
import json
import routes
import routes.middleware
import webob
import webob.dec
import webob.exc
from oslo_utils import strutils`
将原来的udkm程序同openstack组件的紧耦合解耦,使样例程序通用.
样例代码目前使用以下结构:
_
|etc
|
|app
|
|____setup.py
|____install
其中,etc用于存放paste的ini文件,以及app的配置文件;app用于存放app的相关源代码;setup.py用于安装app到系统;install用于安装和配置app使用的数据库、配置文件等.
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.