Your Django project really is "weather_station", but you treat
"myproject" as the
project.
Revisit:
https://docs.djangoproject.com/en/1.11/intro/tutorial01/#creating-a-project
And follow instructions to the tee and look at the directory structure.
On Sun, Sep 3, 2017 at 6:04 PM, Jonathan Cheng
Try:
gunicorn --bind ip:port wsgi:application
Make sure you run it from the directory where manage.py is located.
Regards,
M
On Sun, Sep 3, 2017 at 9:04 AM, Jonathan Cheng
wrote:
> I use Python3.5.2 Django1.9
>
> I use `python -m venv venv/weather_station` to create virtual evnironment
> (/hom
I use Python3.5.2 Django1.9
I use `python -m venv venv/weather_station` to create virtual evnironment
(/home/user/venv)
This is my project tree in Ubuntu /home/user/myproject:
(`export project=/home/user/myproject`)
myproject
|
├── gunicorn.conf.py
├── static
│ ├── admin
└─
3 matches
Mail list logo