爱意满满的作品展示区。
way2explore2

汇率暴跌,所以 fork 了一个 Python 汇率 API

  •  
  •   way2explore2 · Mar 21, 2020 · 2782 views
    This topic created in 2270 days ago, the information mentioned may be changed or developed.
    https://github.com/tim-hub/sanic-currency-exchange-rates-api

    - refactor 一下
    - 更新了依赖
    - 解决了一些潜在漏洞
    Supplement 1  ·  Mar 23, 2020

    docker 一键

    docker build -t rate-api . && docker run --name rate-api -t -i -e DATABASE_URL=postgresql://dbuser:pwd@dburl:5432/dbname rate-api

    2 replies    2020-03-23 16:11:36 +08:00
    lixonxp
        1
    lixonxp  
       Mar 21, 2020
    怎么部署呢
    way2explore2
        2
    way2explore2  
    OP
       Mar 23, 2020
    @lixonxp 抱歉没有写这部分文档,

    最简单是 docker

    `docker build -t rate-api . && docker run --name rate-api -t -i -e DATABASE_URL=postgresql://dbuser:pwd@dburl:5432/dbname rate-api `
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3357 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 11:01 · PVG 19:01 · LAX 04:01 · JFK 07:01
    ♥ Do have faith in what you're doing.