← Return to Tree.io
login about faq

Hi every day i have to re run "python manage.py runserver myipserver:8001"

asked Mar 01 '12 at 10:39

redb's gravatar image

redb
865511


You are running the development server. In production you must use Nginx or Apache as described in the README file

answered Mar 04 '12 at 02:41

Adam's gravatar image

Adam ♦♦
1.5k26

In fact, my server shutdown in the second i closed my terminal app.

answered Mar 04 '12 at 07:22

redb's gravatar image

redb
865511

Yes this is what would happen if you're running the development server using python manage.py runserver. You can use nginx by running ./fcgi start

You will likely have to configure your nginx by editing a file in /etc/nginx/sites-enabled/ please see this site with some examples or contact me via email for paid support.

(Mar 04 '12 at 10:03) Adam ♦♦

Hi in test everything goes but with ./fcgi start the answer is fcgi: PID file exsts.

what next ?

many thanks

answered Jun 12 '12 at 06:14

redb's gravatar image

redb
865511

i tried

root@ks397573:/var/www/treeio# ./fcgi start --daemonise treeio.mydomain.com:8000 Starting fcgi: PID file exsts. root@ks397573:/var/www/treeio# ./fcgi stop --daemonise Stopping fcgi: Done. root@ks397573:/var/www/treeio# ./fcgi start --daemonise treeio.mydomain.com:8000 Starting fcgi: python manage.py runfcgi socket=/tmp/treeio.fcgi pidfile=/var/run/treeio_fcgi.pid method=prefork maxspare=10 minspare=5 maxchildren=100 damonize=True --settings=treeio.settings Done.

where is the access to treeio in this configuration ? treeio.mydomain.com:8000 dont work

Many thanks

answered Jun 12 '12 at 09:16

redb's gravatar image

redb
865511

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: Mar 01 '12 at 10:39

Seen: 1,252 times

Last updated: Jun 12 '12 at 09:16

Related questions

© 2012 Tree.io Ltd. All rights reserved.
Registered in England. Company No. 07416236