Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An example project using F# and SQLite

NotificationsYou must be signed in to change notification settings

iNecas/fsharp-sqlite

Repository files navigation

An example project using F# and SQLite, that involves:

  • defining and running DB in F# usingfluentmigrator
  • setup ofSqlProvider with SQLite (involving copying the files toright place)
  • using SqlProvider to work with the data
  • running on top of dotnet core v3.0 using Linux containers

Usage

The simplest way to get the reproducible setup is to use Linux containers. This instructionspreferBuildah andPodman overdocker, as they don't need any additional daemon to be running on the system. Correspondingdocker commands should still work though.

Building app container

To build the sample application image, run:

buildah bud -t inecas/fsharp-sqlite .

This will download thedotnet core v3 SDK imageand will prepare the setup for running the application.

Usage

podman run --rm -ti --name inecas-fsharp-sqlite inecas/fsharp-sqlitedotnet run -p src/FSharpSqlite.Use# outputs: John's id is 1

About

An example project using F# and SQLite

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp