How to install MixERP
原先從mixerp CodePlex下載安裝檔,安裝畫面執行很久仍無法完成

改從Github下載MixERP原始碼

以VS2013開啟方案,打開MixERP.Net.FrontEnd專案裡的Resource\Configuration\DbServer.xml,修改Password為mis123,另外Database、UserId待會安裝PostgreSQL資料庫也會使用,採用預設值就好

自PostgreSQL官網下載資料庫安裝檔,下載完就開始安裝資料庫

下一步~下一步,Password輸入mis123

Port用預設值5432,下一步~下一步


取消勾選並點選Finish,恭喜~資料庫安裝完成

接下來建立Database與預設資料,執行應用程式中的pgAdmin

建立Database連線

password輸入mis123

如果有勾選Store password,會出現儲存密碼訊息,按OK就行了

連線建立完成,接著新增Database

Name輸入mixerp,Owner(也就是UserId)輸入postgres,點選OK

很快地資料庫就建好了

接下來建立預設Table與Data,選擇mixerp資料庫,開啟SQL queries視窗
回到MixERP.Net.FrontEnd專案,打開db\beta-1\v2\mixerp-incremental-blank-db.sql,將script內容整個複製到SQL Editor,刪除IF NOT EXISTS這段語法

點選工具列的Execute Query,Message會出現ERROR,因為日期型別的測試資料不符合datatime型別,將所有日期資料的年份移到前面(有不少日期資料要改)


一邊改,一邊執行Execute Query(F5),直到出現下圖為止,這時候Table、Data都建立完成,資料庫部份也告一段落

再回到MixERP.Net.FrontEnd專案,瀏覽根目錄index.html,出現下圖代表可正常連接資料庫

登入看看,開始使用MixERP ~

改從Github下載MixERP原始碼

以VS2013開啟方案,打開MixERP.Net.FrontEnd專案裡的Resource\Configuration\DbServer.xml,修改Password為mis123,另外Database、UserId待會安裝PostgreSQL資料庫也會使用,採用預設值就好

自PostgreSQL官網下載資料庫安裝檔,下載完就開始安裝資料庫

下一步~下一步,Password輸入mis123

Port用預設值5432,下一步~下一步


取消勾選並點選Finish,恭喜~資料庫安裝完成

接下來建立Database與預設資料,執行應用程式中的pgAdmin

建立Database連線

password輸入mis123

如果有勾選Store password,會出現儲存密碼訊息,按OK就行了

連線建立完成,接著新增Database

Name輸入mixerp,Owner(也就是UserId)輸入postgres,點選OK

很快地資料庫就建好了

接下來建立預設Table與Data,選擇mixerp資料庫,開啟SQL queries視窗

點選工具列的Execute Query,Message會出現ERROR,因為日期型別的測試資料不符合datatime型別,將所有日期資料的年份移到前面(有不少日期資料要改)


一邊改,一邊執行Execute Query(F5),直到出現下圖為止,這時候Table、Data都建立完成,資料庫部份也告一段落

再回到MixERP.Net.FrontEnd專案,瀏覽根目錄index.html,出現下圖代表可正常連接資料庫

登入看看,開始使用MixERP ~

2 意見
剛好遇到類似問題 感謝分享
Reply