Skip to content

Luiz-Monad/test-tree-shaking

Repository files navigation

SAFE Template

This template can be used to generate a full-stack web application using the SAFE Stack. It was created using the dotnet SAFE Template. If you want to learn more about the template why not start with the quick start guide?

I also recomend going there https://fsharpforfunandprofit.com/

Requirements

  • Mono on MacOS/Linux (on Windows .NET Framework is installed by default)
  • node.js - JavaScript runtime
  • yarn - Package manager for npm modules

On OS X/macOS, make sure you have OpenSSL installed and symlinked correctly, as described here: https://www.microsoft.com/net/core#macos.

dotnet SDK 2.2.301 is required but it'll be downloaded automatically by the build script if not installed (see below). Other tools like Paket or FAKE will also be installed by the build script.

Work with the application

To concurrently run the server and the client components in watch mode use the following command:

fake build -t Run

or

yarn start

DEPLOY

fake build -t Deploy

or

yarn deploy