Newsletter 專案共同程式碼放置的 package.

File: cloud.fixtures.inital_data.json
  Add a SMTPServer<Cloud SMTP Server>

How to use "Theophrastus"?
1. Install "Theophrastus" package.
> python setup.py install

2. Modify your settings.py in yourself project.
Add apps(tagging, tinymce and Theophrastus) to "INSTALLED_APPS".

3. You can through config to configure Theophrastus.

THEOPHRASTUS_UPLOAD_PATH

THEOPHRASTUS_AMAZON_LOGFILE

THEOPHRASTUS_MAIL_SERVER_LOGFILE

THEOPHRASTUS_MAILER_LOGFILE

THEOPHRASTUS_APSCHEDULER_LOGFILE

THEOPHRASTUS_API_LOG

THEOPHRASTUS_ENABLE_INTEGRATION

4. Add this code to your settings.py after configs.
from Theophrastus.AttachSettings import attachSettings
attachSettings(locals())

5. Add Tinymce configs.


== Upload ==
Upload release to Nuwa's PYPI:

python setup.py sdist upload -r dev

Reference:
http://doc.devpi.net/latest/userman/devpi_misc.html#using-plain-setup-py-for-uploading

==  Migrations ==
Directly make migrations to the Theoprastus app(cloud and integration) will cause models conflict lookup error, if you need to modify models.py and make migrations to these apps, please see https://code.nuwainfo.com/trac/mercurius/ticket/2995#comment:13 for solutions. 
