https://github.com/dawedawe/tortillaflow
https://github.com/dawedawe/tortillaflow
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dawedawe/tortillaflow
- Owner: dawedawe
- Created: 2022-11-10T23:37:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-02T22:06:12.000Z (over 3 years ago)
- Last Synced: 2025-01-21T23:42:35.251Z (over 1 year ago)
- Language: F#
- Size: 161 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tortilla Flow
This is my entry for the F# advent calendar 2022.
## Requirements
* [dotnet SDK](https://www.microsoft.com/net/download/core) 6.0.1 or higher
* [node.js](https://nodejs.org) 16
* An F# editor like Visual Studio, Visual Studio Code with [Ionide](http://ionide.io/) or [JetBrains Rider](https://www.jetbrains.com/rider/)
## Building and running the app
* Install dependencies: `npm install`
* Start the compiler in watch mode and a development server: `npm start`
* After the first compilation is finished, in your browser open: http://localhost:8080/
Any modification you do to the F# code will be reflected in the web page after saving.
> Note: check the "scripts" section in `package.json` to see the commands triggered by the steps above.
## Bundling for release
Run the following command to compile and bundle up all your F# code into one Javascript file: `npm run build`. The compiled output ends up in the `public` folder under the name `bundle.js`.