Menu
Requirements:
![Software Software](/uploads/1/2/5/8/125861422/795324740.jpg)
![Software Software](/uploads/1/2/5/8/125861422/388224894.jpg)
Compare the best free open source Windows Code Generators Software at SourceForge. Free, secure and fast Windows Code Generators Software downloads from the largest Open Source applications and software directory.
dotnet
SDKmono
(on Linux/MacOS)fake
- Install the
dotnet
template withdotnet new -i Saturn.Template
- Create a new folder and move into it -
mkdir SaturnSample && cd SaturnSample
- Create a new Saturn application -
dotnet new saturn -lang F#
- Run the build process to ensure everything was scaffolded correctly and restore dependencies -
fake build
- Go into the subdirectory with the server application -
cd src/SaturnSample
- Create a new controller with
dotnet saturn gen Book Books id:string title:string author:string
- Run migrations that will create the database and Books table (as for now, the generator is using only SQLite DB) -
dotnet saturn migration
- Open the folder in your favourite editor (VSCode) and insert the line (
forward '/books' Books.Controller.resource
) intobrowserRouter
inRouter.fs
file - Start the application by running
fake build -t run
from the root of the solution. This will start the application in watch mode (automatic recompilation on changes) and open your browser on http://localhost:8085 which should display the index page. - Go to http://localhost:8085/books to see the generated view. All buttons should be working; you can add new entries, and remove or edit old ones.