From 9fb7b5f958a1b35dea007f91e41c2833374fc163 Mon Sep 17 00:00:00 2001 From: Eric Tsai Date: Tue, 24 Sep 2019 15:55:56 +0800 Subject: [PATCH] add installing FreeTDS steps to README --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a5ba2f4..581ad27 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,21 @@ # Usage -## at the target app, not this Orbit module(Rails Engine) +## install FreeTDS for school server in advance +```shell +# install steps for Ubuntu +$ sudo apt-get install wget +$ sudo apt-get install build-essential +$ sudo apt-get install libc6-dev + +$ sudo wget http://www.freetds.org/files/stable/freetds-1.1.6.tar.gz +$ sudo tar -xzf freetds-1.1.6.tar.gz +$ sudo cd freetds-1.1.6 +$ sudo ./configure --prefix=/usr/local --with-tdsver=7.3 +$ sudo make +$ sudo make install +``` +More infomation please visit [TinyTDS.](https://github.com/rails-sqlserver/tiny_tds) + +## do the steps below at the target app directory, not this Orbit module directory(Rails Engine) * create project\_root/config/initializers/ntnu\_sybase\_config.rb with following content: ```ruby