mking / flask-uwsgi

Tutorial for setting up Flask with uWSGI + Nginx
271 stars 39 forks source link

Misspelling in README #1

Closed lmas closed 10 years ago

lmas commented 10 years ago

Hello dude, just a minor nitpick. You have accidently switched the file names in the "Creating an Upstart service for uWSGI" section:

Next, create the **init script**.
Copy the init script template to /etc/init/flask-uwsgi.conf.
Replace /path/to/flask-uwsgi with the path to this directory.

Next, create the **config file**.
Copy the config template to /etc/flask-uwsgi/flask-uwsgi.ini.
Set uid and gid to the numeric uid and gid for www-data.

Thanks for a good tutorial!

mking commented 10 years ago

You're welcome!

So, I see what you are saying (conf should be for config files and ini should be for init scripts). However, in this case, the file extensions are correct. Ubuntu init scripts end in .conf (you can see this by doing ls /etc/init), and the config file ends in .ini because the file format is ini.

lmas commented 10 years ago

Oh I see, I didn't know about Ubuntu's init scripts, I'm on Debian. I also have to confess, I read that text way to fast (read it as ini script, not init) and wrote this way too soon ;] Apologies!

edalee commented 10 years ago

Hi mking, Thanks for the instructions. Just a quick question on: change path/to/flask-uwsgi do you mean the flask-uwsgi.conf we are editing, itself. or the actually project folder i.e.: /home/pi/www/projects/helloworld ? thanks