GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - iNecas/fsharp-sqlite: An example project using F# and SQLite

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
.paket
.paket
 
 
hotfix
hotfix
 
 
src
src
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
FSharpSqlite.sln
FSharpSqlite.sln
 
 
README.md
README.md
 
 
paket.dependencies
paket.dependencies
 
 
paket.lock
paket.lock
 
 
pr-hotix-build.zip
pr-hotix-build.zip
 
 

Repository files navigation

FSharpSqlite

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

  • defining and running DB in F# using fluentmigrator
  • setup of SqlProvider with SQLite (involving copying the files to right 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 instructions prefer Buildah and Podman over docker, as they don't need any additional daemon to be running on the system. Corresponding docker commands should still work though.

Building app container

To build the sample application image, run:

buildah bud -t inecas/fsharp-sqlite .

This will download the dotnet core v3 SDK image and will prepare the setup for running the application.

Usage

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

About

An example project using F# and SQLite

Topics

fluentmigratorfsharpfsharp-samplessqlitesqlprovider

Resources

Readme
Activity

Stars

4 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.