You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-29Lines changed: 8 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ This is the mono-repository for the backend services and their common codebase
9
9
## Getting started
10
10
Follow the following instructions to get the project ready to use ASAP.
11
11
12
+
12
13
### Requirements
13
14
Be sure you have installed in your system
14
15
@@ -46,35 +47,6 @@ automatically [pip](https://pip.pypa.io/en/stable/) as well.
46
47
47
48
Remember to do it with Python 3.
48
49
49
-
50
-
- Install the [Microsoft ODBC Driver for SQL Server](https://docs.microsoft.com/en-us/sql/connect/odbc/microsoft-odbc-driver-for-sql-server?view=sql-server-ver15)
51
-
in your operative system. Then you have to check out what is the name of the SQL Driver installation.
52
-
Check it out with:
53
-
54
-
```bash
55
-
vim /usr/local/etc/odbcinst.ini
56
-
```
57
-
58
-
It may display something like
59
-
60
-
```.ini
61
-
[ODBC Driver 17 for SQL Server]
62
-
Description=Microsoft ODBC Driver 17 for SQL Server
63
-
Driver=/usr/local/lib/libmsodbcsql.17.dylib
64
-
UsageCount=2
65
-
```
66
-
67
-
Then specify the driver name, in this case _DBC Driver 17 for SQL Server_ in the `SQL_DATABASE_URI`, e.g.:
68
-
69
-
```.dotenv
70
-
SQL_DATABASE_URI=mssql+pyodbc://<user>:<password>@time-tracker-srv.database.windows.net/<database>?driver\=ODBC Driver 17 for SQL Server
71
-
```
72
-
73
-
To troubleshoot issues regarding this part please check out:
74
-
-[Install the Microsoft ODBC driver for SQL Server (macOS)](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos?view=sql-server-ver15).
75
-
- Github issue [odbcinst: SQLRemoveDriver failed with Unable to find component name](https://github.com/Microsoft/homebrew-mssql-preview/issues/2).
76
-
- Stack overflow solution to [Can't open lib 'ODBC Driver 13 for SQL Server'? Sym linking issue?](https://stackoverflow.com/questions/44527452/cant-open-lib-odbc-driver-13-for-sql-server-sym-linking-issue).
77
-
78
50
### How to use it
79
51
- Set the env var `FLASK_APP` to `time_tracker_api` and start the app:
80
52
@@ -93,6 +65,13 @@ To troubleshoot issues regarding this part please check out:
93
65
a link to the swagger.json with the definition of the api.
94
66
95
67
68
+
### Important notes
69
+
Due to the used technology and particularities on the implementation of this API, it is important that you respect the
70
+
following notes regarding to the manipulation of the data from and towards the API:
71
+
72
+
- The [recommended](https://docs.microsoft.com/en-us/azure/cosmos-db/working-with-dates#storing-datetimes) format for
73
+
DateTime strings in Azure Cosmos DB is `YYYY-MM-DDThh:mm:ss.fffffffZ` which follows the ISO 8601 **UTC standard**.
0 commit comments