###Webアプリケーションをデプロイ
Djangoで作成したWebアプリケーションを以下のサイトを参考に行っているのですが途中でエラーが出てしまいます。
EC2上で Django + Nginx + uWSGI を試す
###発生している問題・エラーメッセージ
uwsgi --http :8000 --module <project name>.wsgi
このコマンドを打った時に以下のエラーが出てしまいます。
*** Starting uWSGI 2.0.13.1 (64bit) on [Mon Jul 25 23:59:24 2016] *** compiled with version: 4.8.4 on 25 July 2016 21:14:19 os: Linux-3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 nodename: XXXXXXXX machine: x86_64 clock source: unix detected number of CPU cores: 1 current working directory: XXXXXXXXX detected binary path: /usr/local/bin/uwsgi !!! no internal routing support, rebuild with pcre support !!! *** WARNING: you are running uWSGI without its master process manager *** your processes number limit is 7862 your memory page size is 4096 bytes detected max file descriptor number: 1024 lock engine: pthread robust mutexes thunder lock: disabled (you can enable it with --thunder-lock) uWSGI http bound on :8000 fd 4 spawned uWSGI http 1 (pid: 11022) uwsgi socket 0 bound to TCP address 127.0.0.1:34863 (port auto-assigned) fd 3 Python version: 2.7.6 (default, Jun 22 2015, 18:01:27) [GCC 4.8.2] *** Python threads support is disabled. You can enable it with --enable-threads *** Python main interpreter initialized at 0x1364b90 your server socket listen backlog is limited to 100 connections your mercy for graceful operations on workers is 60 seconds mapped 72760 bytes (71 KB) for 1 cores *** Operational MODE: single process *** ImportError: No module named <project name>.wsgi.application unable to load app 0 (mountpoint='') (callable not found or import error) *** no app loaded. going in full dynamic mode *** *** uWSGI is running in multiple interpreter mode *** spawned uWSGI worker 1 (and the only) (pid: 11021, cores: 1)
デプロイコマンドの引数の<project name>.wsgiが存在せず、ImportError: No module named <project name>.wsgi.application が原因出てしまうと思われるのですが、<project name>.wsgiは自分で用意しなければいけないのでしょうか。
もしするのであれば、その方法を教えていただけないでしょうか。
###補足情報(言語/FW/ツール等のバージョンなど)
AWSのEC2 t2.micro(Ubuntu 14.04LTS)
Django 1.9.7
uWSGI 2.0.13.1

バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/07/28 00:26 編集
2016/07/28 06:50