https://github.com/fslaborg/zzarchive-fslab.templates
FsLab project templates - download as ZIP to get started!
https://github.com/fslaborg/zzarchive-fslab.templates
Last synced: over 1 year ago
JSON representation
FsLab project templates - download as ZIP to get started!
- Host: GitHub
- URL: https://github.com/fslaborg/zzarchive-fslab.templates
- Owner: fslaborg
- Created: 2015-03-22T23:36:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-05-01T10:56:38.000Z (about 8 years ago)
- Last Synced: 2024-04-14T01:08:24.407Z (about 2 years ago)
- Homepage: http://fslab.org/download/
- Size: 62.5 KB
- Stars: 4
- Watchers: 5
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
FsLab project templates
=======================
This repository hosts FsLab project templates compatible with many F# editors.
Using the templates, you can start with FsLab in 3 simple steps:
1. Download a selected template
2. Build it to download FsLab packages
3. Open scripts in your editor & play!
### 1. Download a template
To get started, download a branch with the template as a ZIP file and extract the files.
The repository currently hosts the following templates:
* [FsLab Basic template](https://github.com/fslaborg/FsLab.Templates/archive/basic.zip) -
references FsLab and gives you a single script file with simple demo
* [FsLab Journal template](https://github.com/fslaborg/FsLab.Templates/archive/journal.zip) -
in addition to the above, this template also lets you write literate FsLab scripts and produce HTML or LaTeX reports
### 2. Build the template
Visual Studio and Xamarin Studio should download FsLab packages automatically on build.
If this doesn't happen (or when using other editors), you need to explicitly install them.
- In the basic template, run [`paket install`](http://fsprojects.github.io/Paket/paket-install.html).
For example, when using mono on Mac, run:
mono .paket/paket.bootstrapper.exe
mono .paket/paket.exe install
- In the journal template you can use build scripts `build.sh` and `build.cmd`.
The following will process all journals and open them in a web browser:
chmod +x build.sh
./build.sh run
### 3. Use FsLab for fun & profit!
Once you have the template and packages, you can open the `Tutorial.fsx` file and start playing
with FsLab. For more information, see the [Getting Started](http://fslab.org/getting-started/) page on www.fslab.org.