Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
bashのブラウザで指定されたコンソール内から Web サーバーを再起動する方法はありますPythonAnywhereか? 私はしばらくグーグルを検索しましたが、関連するものは見つかりませんでした。
bash
PythonAnywhere
には、Web アプリごとに 1 つのファイルがあります/var/www。ファイルの名前は、どのファイルがどの Web アプリに適用されるかを明確にする必要があります。
/var/www
タイプ
touch /var/www/<filename>
( <filename> は、再起動する Web アプリのファイルの名前です) サーバーは、ファイルの変更日が変更されたことを認識し、アプリを再起動します。