https://github.com/freymaurer/safe-minexcel
Office.js implementation for F# SAFE stack in Excel.
https://github.com/freymaurer/safe-minexcel
asp-net fable fable-remoting fsharp office-js safe-stack
Last synced: 3 months ago
JSON representation
Office.js implementation for F# SAFE stack in Excel.
- Host: GitHub
- URL: https://github.com/freymaurer/safe-minexcel
- Owner: Freymaurer
- Created: 2021-11-03T11:12:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-25T08:00:57.000Z (over 3 years ago)
- Last Synced: 2025-09-16T04:31:42.759Z (9 months ago)
- Topics: asp-net, fable, fable-remoting, fsharp, office-js, safe-stack
- Language: F#
- Homepage:
- Size: 1.19 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SAFE-MinExcel
This is meant as a minimal template to set up an Office Excel web add-in.
Tested for:
- Excel online
- Excel 356 on windows
- Excel 2019 on windows (Maybe not anymore)
## Install pre-requisites
You'll need to install the following pre-requisites in order to build SAFE applications
* [.NET Core SDK](https://www.microsoft.com/net/download) 5.0 or higher
* [Node LTS](https://nodejs.org/en/download/)
1. Download repo.
2. Run install.cmd as admin **or** run `dotnet run setup`.
1. Pop-up `Root Certificate Store` click yes
Part of installing development certificates, ebcause excel enforces https for its add-ins
2. Pop-up `Security Warning` click yes
3. `Certificate` window, click
1. "Install Certificate..."
2. "Local Machine"
3. Place all in the following store:
4. "Browse..." -> "Trusted Root Certification Authorities", hit Ok -> Next -> Finish -> Ok
3. To start the app run `dotnet run officedebug` in the root directory.
4. Website can be accessed under 'https://localhost:3000'
5. Start Excel and go to `Insert` > `My Add-ins` > click on the small arrow and it should show **Minimal-SAFE**.
## SAFE Stack Documentation
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/).
You will find more documentation about the used F# components at the following places:
* [Saturn](https://saturnframework.org/)
* [Fable](https://fable.io/docs/)
* [Elmish](https://elmish.github.io/elmish/)