LoginSignup
1
3

More than 3 years have passed since last update.

Pythonanywhere で簡単デプロイ!! python 初心者向け(2020年9月)

Last updated at Posted at 2020-09-17

[ python anywhere とは、👉(part1へ) https://qiita.com/iwasaki-hub/items/73054cea8f0c32fc90d3 ]

まず、アカウントを作成します!

PythonAnywhereのDashboardから操作を進めます!

2020-09-17_LI.jpg

👆
右上にある[Web]をクリックしましょう!

2020-09-17 (1)_LI.jpg

👆👆
[add a new web app] をクリックした後、[Next>>] をクリックします!

2020-09-17 (2).png

👆👆👆
[Django]を選択します!これらは、Python Web framework の一覧です!
 学習済み📚のものがあれば、そちらを選択してもかまいません!

2020-09-17 (3).png

👆👆👆👆
[Python 3.8]を選択します!これらは、Python version の一覧です!

2020-09-17 (4)_LI.jpg

👆👆👆👆👆
プロジェクト名を入力します!
お好みのプロジェクト名で大丈夫😺

これでDjangoのプロジェクトの作成が完了🎉🎉🎉

2020-09-17 (5)_LI.jpg

👆👆👆👆👆👆
Configuraton for の下の行のリンク(URL)をクリックしてみましょう!

2020-09-17 (6)_LI.jpg

🌈🌈🌈 完成 🌈🌈🌈

「保護されていない通信」の解決方は、pythonanywhere に戻って

1、Force HTTPS をEnabledに変更する。(ページの下の方にあります。)
2020-09-17 (7).png

2、Reloadをクリックする。

3、URLをクリックすれば、解決🔓

ディレクトリ(ファイル)構成などは、[file] から見れます🔍

次回、Djangoのディレクトリ構造を覗いてみます👀 
👉(part3へ) https://qiita.com/iwasaki-hub/items/5237c1d9639b47c013e3

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3