Running And Migrating Django Project on Bluehost

先写几个中文字, 主题无关,本来没必要迁的项目, 主要是被赶得只好换了服务器. 就多做了这么多的事.

 

Currently Bluehost doesnt support Django officially.

to support Django.

1. Using self-packaged python/Django.
Download and unzip Python in:
/home/zip/Django/Python-2.8.5
using ez_setup.py/pip to install flup/Django/MySQL-python …

2. Using existing Project: RACBDM. edit .htaccess

 

3. prepare mysite.fcgi

 

4. ensure the mysql related configuration: <RACBDM.settings>

5. confirm the template_dirs setting:

6. While migrating, it’s a good practice to enable DEBUG mode:

7. Mysql related:

8. mention that the dump script will not take care the View create status, if you have tables/views. please double check.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.