I have a t1.micro instance with public dns looks similar to
ec2-184-72-67-202.compute-1.amazonaws.com (some numbers changed)
On this machine, I am running a django app
$ sudo python manage.py runserver --settings=vlists.settings.dev
Validating models...
0 errors found
Django version 1.4.1, using settings 'vlists.settings.dev'
Development server is running at http://127.0.0.1:8000/
I have ope
In order to debug maas, I ran the following command:
$ cd /usr/share/pyshared/maas
$ sudo python manage.py runserver (IP):8888 --settings=maas.settings
After that, I typed the url 'http://(IP):8888/MAAS/' in a firefox browser.
Then the following error is shown:
A server error occurred.
I am working on CentOS6, and running a django server for my development on a tmux session as:
python manage.py runserver 0.0.0.0:8000
So I can read my debug string print on it.
While there is an unknown reason which made my tmux session lost, and I cannot to bak to my working session using "tmux attach" command.
I still can find my server is running by ps command, but I have no permission to k
I am woking on Ubuntu 12, python2.6 and Django1.2.x which is my test server.
And I run a Django project on my test server using below command:
python manage.py runserver 0.0.0.0:8000
The server can work for most time(I let it run on 7X24 for other teammate to access it), but sometime it would suddenly not work:
Browser shows me that "server not available" when I try to access it.
And of cours
I've configured a Debian 6 server with nginx, Passenger, and MySQL to run Django, and was running through the Django tutorial with everything going swimmingly until I tried to turn on the admin interface.
Now it returns a 502 bad gateway whenever I have admin.autodiscover() on and any user-created app included in INSTALLED_APPS under settings.py.
However, when I run Django's test server (python
So I am experimenting with uWSGI and liking it a lot.
I have a question regarding the use of its .ini file though.
Is it possible to calculate values for its .ini configuration parameter dynamically?
For instance, for the "chdir" value in my "uwsgi.ini" file, I have
[uwsgi]
socket=127.0.0.1:3034
chdir=/Users/calvin/work/myproject
virtualenv=/Users/calvin/.virtualenvs/myproject
module=django.co
I am trying to run basic Django app on Amazon like:
managy.py runserver 80
It starts running, but I can't connect to Django from browser to this port, FF can't connect.
My Security Groups are set up ok, since I can connect to Apache from outside, if I run it.
Is there a way to use django runserver on Amazon?
Or more production-like stack, with Apache, is strongly adviced?
I know strictly nothing from python and I am installing datacommons from the sunlightlabs. So I followed step by step the README.md https://github.com/sunlightlabs/datacommons
First, it is said in the doc to add to the virtualenv dc_data, dc_matcchbox but I didn't find them.
(My question isn't really about Django. It's about alternative http ports. I just happen to know Django is a relatively famous application that uses 8000 by default, so it's illustrative.)
I have a dev server in the wild that we occasionally need to run multiple httpd services on on different ports.