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

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

  •  
  •   way2explore2 · Mar 21, 2020 · 3107 views
    This topic created in 2425 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
    lixonxp
    Mar 21, 2020
    1
    怎么部署呢
    way2explore2
    way2explore2
    OP
    Mar 23, 2020
    2
    @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   ·   Privacy   ·   Solana   ·   1944 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:25 · PVG 23:25 · LAX 07:25 · JFK 10:25
    ♥ Do have faith in what you're doing.