Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ImaginaryDevelopment/Fable.Static
A base template for writing static sites using F# JavaScript with Fable, and pushing it up to GitHub pages.
https://github.com/ImaginaryDevelopment/Fable.Static
fable fable-elmish fsharp static-site-generation
Last synced: about 2 months ago
JSON representation
A base template for writing static sites using F# JavaScript with Fable, and pushing it up to GitHub pages.
- Host: GitHub
- URL: https://github.com/ImaginaryDevelopment/Fable.Static
- Owner: ImaginaryDevelopment
- Created: 2020-05-23T16:06:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T21:35:56.000Z (almost 2 years ago)
- Last Synced: 2024-04-28T11:34:06.761Z (5 months ago)
- Topics: fable, fable-elmish, fsharp, static-site-generation
- Language: F#
- Size: 4.86 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-fsharp-project-templates - ImaginaryDevelopment/Fable.Static - Base template for writing static sites using F# JavaScript with Fable, and pushing it up to GitHub pages (List / Fable)
README
# SAFE Template
This template can be used to generate a full-stack web application using the [SAFE Stack](https://safe-stack.github.io/). It was created using the dotnet [SAFE Template](https://safe-stack.github.io/docs/template-overview/). If you want to learn more about the template why not start with the [quick start](https://safe-stack.github.io/docs/quickstart/) guide?
## Install pre-requisites
You'll need to install the following pre-requisites in order to build SAFE applications
* The [.NET Core SDK](https://www.microsoft.com/net/download)
* The [Yarn](https://yarnpkg.com/lang/en/docs/install/) package manager (you can also use `npm` but the usage of `yarn` is encouraged).
* [Node LTS](https://nodejs.org/en/download/) installed for the front end components.
* If you're running on OSX or Linux, you'll also need to install [Mono](https://www.mono-project.com/docs/getting-started/install/).## Work with the application
Before you run the project **for the first time only** you should install its local tools with this command:
```bash
dotnet tool restore
```To concurrently run the server and the client components in watch mode use the following command:
```bash
dotnet fake build -t run
```## SAFE Stack Documentation
You will find more documentation about the used F# components at the following places:
* [Saturn](https://saturnframework.org/docs/)
* [Fable](https://fable.io/docs/)
* [Elmish](https://elmish.github.io/elmish/)
* [Fulma](https://fulma.github.io/Fulma/)If you want to know more about the full Azure Stack and all of it's components (including Azure) visit the official [SAFE documentation](https://safe-stack.github.io/docs/).