0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Djangoを試してみよう

Posted at

Djangoで始めるWebアプリ開発入門 🐍💻

はじめに

PythonでWebアプリを作りたいと思ったとき、最初に思いつくのが「Django」かなと思います。
Djangoは、管理画面や認証機能などが最初から備わっている“フルスタック”なWebフレームワーク。
今回は、Djangoの基本的な使い方からやっていきます。


環境構築とインストール

まずはPython環境にDjangoをインストールします。

pip install django

プロジェクトの作成

今回は「mysite」という名前のプロジェクトフォルダを作成します。

django-admin startproject mysite

開発サーバーを起動

python manage.py runserver

上記の後にブラウザで http://127.0.0.1:8000/ を開くと、Djangoのウェルカム画面が表示されます。

django.png

この後に自身のサイトを登録していきましょう!

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?