Tutorial Resources Python Webservice API Server deployment using Ubuntu

製品情報

Community Code
ユーザーガイド 更新

inspectedPieceX検証済み

デベロッパー

avatar
Lab AI
コードサンプルのリクエスト ダイレクトメッセージ

2020年09月04日

公開チャット

製品詳細

From the tutorial:  https://medium.com/analytics-vidhya/python-webservice-api-server-deployment-using-ubuntu-201d48f477d9

Or: https://www.piecex.com/articles/Python-Webservice-API-Server-deployment-using-Ubuntu-282

Here are the files used during the article/tutorial. 

Docker Example

If you downloaded the resources, then you just need to go to the terminal, cd the folder “tutorial_resources”

Build the Dockerfile:

docker build — tag flask_tutorial:1.0 .

Then run the container, for example:

docker run --publish 81:80 --detach --name flask_container flask_tutorial:1.0

This will publish the service into your localhost port 81 (make sure your port 81 is available or change it in the above docker command).

Go to your browser and access 

It should show: {“PieceX tutorial”:”HELLO WORLD”}







価格情報

利用できるデータはありません

限定プレビュー


実際の製品には、すべてのファイルと完全なコードが含まれています。

依存パッケージ

依存パッケージを表示する

ランダムサンプルファイル

プロジェクトファイルの統計

階層

サンプルファイルを選択してください
X
user-symbol

Stay in touch

ビジネスおよび開発者向けの実用的な最新情報をご希望ですか?

ソースコードプロジェクトに対するPieceXコミュニティのニーズについてご提供します。

PieceXの最新の無料コミュニティコードプロジェクトをいち早くお知らせします。