V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
byc4i
V2EX  ›  Python

腾讯云 serverless(SCF)+api 网关,部署 django 求解。

  •  
  •   byc4i · 2018-08-31 10:57:45 +08:00 · 2766 次点击
    这是一个创建于 2036 天前的主题,其中的信息可能已经有所发展或是发生改变。

    腾讯云 serverless(SCF)+api 网关,部署 django 求解。

    求问,入口函数该怎么写。

    8 条回复    2018-09-12 15:44:07 +08:00
    byc4i
        1
    byc4i  
    OP
       2018-08-31 13:56:18 +08:00
    请问有部署过相关项目的师傅有经验吗?
    defunct9
        2
    defunct9  
       2018-08-31 15:20:11 +08:00
    开账号,让我试试(刚弄完 aws 的 serverless , api gateway + lambda php)
    derek80
        3
    derek80  
       2018-08-31 16:45:48 +08:00
    ```
    def main_handler(event,content):
    pass
    ```
    haijie865
        4
    haijie865  
       2018-08-31 17:09:09 +08:00
    发现一个国内仅有的 whmcs 资源类站点 http://whmcs.xiaomihost.com/ 不知道这样的站点有没有盈利的可能
    byc4i
        5
    byc4i  
    OP
       2018-09-12 14:56:48 +08:00
    @defunct9 aws 我也搞好了,不太懂 python 的 serverless 的入口函数怎么写,或者响应的包
    byc4i
        6
    byc4i  
    OP
       2018-09-12 14:57:08 +08:00
    @derek80 不太懂 python 的 serverless 的入口函数怎么写,或者相应的包
    defunct9
        7
    defunct9  
       2018-09-12 15:41:13 +08:00
    @byc4i https://github.com/aws/chalice 用这个框架好了
    defunct9
        8
    defunct9  
       2018-09-12 15:44:07 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3481 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 10:58 · PVG 18:58 · LAX 03:58 · JFK 06:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.