新規pylonsプロジェクトを作成&起動
以下のサイトを参考にpylonsプロジェクトを作成。
http://pylonshq.com/docs/en/1.0/gettingstarted/#installing
~> .\mydevenv\Scripts\paster create -t pylons edcprototype
Selected and implied templates:
pylons#pylons Pylons application templateVariables:
egg: edcprototype
package: edcprototype
project: edcprototype
Enter template_engine (mako/genshi/jinja2/etc: Template language) ['mako']:
Enter sqlalchemy (True/False: Include SQLAlchemy 0.5 configuration) [False]: True
テンプレートエンジンはmako、O/RマッパとしてSqlAlchemyをインクルード。
作成したプロジェクトのディレクトのsetup.pyスクリプトを実行。
python setup.py develop
・サービス起動方法。
プロジェクトディレクトのdevelopment.iniを実行する。
paster serve --reload development.ini