This page provides some basic guidance on getting up and running with your first SAFE application.
You'll need to install the following pre-requisites in order to build SAFE applications
- The .NET Core SDK 2.1
- FAKE 5 installed as a global tool (recommended version >= 5.10)
- Node 8.x installed for the front end components
- If you're running on OSX or Linux, you'll also need to install Mono
Install an F# code editor
You'll also want an IDE to create F# applications. We recommend one of the following great IDEs.
Create your first SAFE app
- Create a new directory on your machine
- Open a command prompt
dotnet new -i SAFE.Templateto install the SAFE project template
dotnet new SAFEto create a new SAFE project
fake build --target runto build and run the app
Congratulations - after a short delay, you'll be presented with a basic SAFE application running in your browser! The application will by default run in "development mode", which means it automatically watch your project for changes; whenever you save a file in the client project it will refresh the browser automatically; if you save a file in the server project it will also restart the server in the background.
Take a look at the template options. There are several ways to customise the default application, such as server and client/server communication technologies.
Still have issues getting started? Check out the troubleshooting page.