Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cpursley/mssql_ecto_friends
MssqlEcto + Docker Compose
https://github.com/cpursley/mssql_ecto_friends
ecto elixir sql-server
Last synced: about 2 months ago
JSON representation
MssqlEcto + Docker Compose
- Host: GitHub
- URL: https://github.com/cpursley/mssql_ecto_friends
- Owner: cpursley
- Created: 2018-01-30T21:54:40.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T12:05:47.000Z (almost 7 years ago)
- Last Synced: 2024-06-13T03:58:09.205Z (7 months ago)
- Topics: ecto, elixir, sql-server
- Language: Elixir
- Homepage:
- Size: 14.6 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Friends
A sample application demonstrating [MssqlEcto](https://github.com/findmypast-oss/mssql_ecto) (Microsoft [SQL Server](https://hub.docker.com/r/microsoft/mssql-server-linux/) + Elixir's [Ecto](https://github.com/elixir-ecto/ecto))
Based on: https://github.com/elixir-ecto/ecto/tree/master/examples/friends
## Installation
Install Docker Compose: https://docs.docker.com/compose/install
Build containers, Elixir and MS SQL:
```bash
$ docker-compose build
$ docker-compose up
```In separate terminal:
```bash
$ docker-compose mix setup
```Interact with iex:
```bash
$ iex -S mix
iex> Friends.Repo.all Friends.Person
```