Skip to content

Commit 4e745a5

Browse files
committed
Changes.
1 parent 87b86a3 commit 4e745a5

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11

2-
# SQL Server DB Task Test App
2+
# SQL Server Addapter Smoke Test
3+
4+
Trying to make sure things work.
5+
6+
7+
### Setup
8+
9+
Ensure the `sa` password is exported to the env.
10+
11+
```shell
12+
$ export SA_PASSWORD=...
13+
```
14+
15+
Now create the DB and setup the app.
16+
17+
```shell
18+
$ bundle install
19+
$ ./bin/rake db:setup
20+
```
321

4-
That is all.

config/database.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11

22
default: &default
33
adapter: sqlserver
4-
host: ss2014
5-
username: <%= ENV['SQLSERVER_USER'] %>
6-
password: <%= ENV['SQLSERVER_PASS'] %>
7-
pool: 5
8-
timeout: 5000
4+
encoding: utf8
5+
username: sa
6+
password: <%= ENV['SA_PASSWORD'] %>
7+
host: localhost
98

109
development:
1110
<<: *default

0 commit comments

Comments
 (0)