LoginSignup
2
2

More than 5 years have passed since last update.

コマンド1発でローカルサーバを建てる

Posted at
$ cd 任意のパス
$ python -m SimpleHTTPServer 8000

以下の様なログが出たらOK

Serving HTTP on 0.0.0.0 port 8000 ...

ブラウザで http://localhost:8000/ にアクセスすると、"任意のパス"のファイル一覧が見える。

クライアントアプリ開発中にテストデータを流し込みたいときに便利。

2
2
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
2
2