2011-11-15 90 views
0

我仍在試圖找出EC2主機。我有我的小網站,然後我做了改變。我SSH'd我的方式,切斷服務器(CRTL C),屏幕-R然後做git拉。現在我該如何重新啓動該過程?將對Django 1.3代碼的更改部署到Amazon EC2

感謝您協助noob。

+0

請告訴我,你在[未運行的Django開發服務器](https://docs.djangoproject.com/en/1.3/ref/django-admin/#runserver-port-or-address-port)'./manage.py runserver'。 –

+0

如果是,請停止並將Django安裝到Apache或nginx或任何您將使用的Web服務器上。 –

+0

我遵循本教程:http://sam.odio.com/blog/labels/linux%20debian%20lighttpd%20django%20python.html - 這有助於回答我的問題嗎? – djblue2009

回答

0

我想通了:

混帳拉之後,我需要運行:

python manage.py runfcgi method=prefork host=127.0.0.1 port=9090 pidfile=django.pid 

然後退出:

Ctrl + a d 
1

我會假設啓動Apache的方法是運行/etc/init.d/apache2 start/etc/init.d/httpd start

相關問題