我有一個小型項目,我想部署到Heroku和OpenShift,在兩個平臺上嘗試。我使用Python/Django的所以我想利用動態導入功能的優勢來定義每一環境設置,保持這些平臺我要部署到,像,設置模塊: my_project/
settings/
__init__.py <-- This is what's being imported during app init, he
我的應用程序在openshift上運行,我無法加載數據庫。這是我的代碼: from sqlalchemy import Column, Integer, String,create_engine,ForeignKey,Time
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import s
誰能幫助我,我已經安裝了1.9.1和Ruby寶石1.8,這裏是錯誤消息: ~$ sudo gem install rhc
Building native extensions. This could take a while...
ERROR: Error installing rhc:
ERROR: Failed to build gem native extension.
/usr/b