-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd8b201
commit db92121
Showing
1 changed file
with
7 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,13 @@ | ||
# SAFE Template | ||
# Feliz.ReactAwesomeSLider | ||
|
||
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? | ||
Feliz binding for [react-awesome-slider](https://github.com/rcaferati/react-awesome-slider) | ||
|
||
## Install pre-requisites | ||
## Install | ||
|
||
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/) | ||
|
||
## Starting the application | ||
|
||
Before you run the project **for the first time only** you must install dotnet "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 run | ||
``` | ||
|
||
Then open `http://localhost:8080` in your browser. | ||
|
||
The build project in root directory contains a couple of different build targets. You can specify them after `--` (target name is case-insensitive). | ||
|
||
To run concurrently server and client tests in watch mode (you can run this command in parallel to the previous one in new terminal): | ||
|
||
```bash | ||
dotnet run -- RunTests | ||
```f# | ||
femto install Feliz.ReactAwesomeSlider | ||
``` | ||
|
||
Client tests are available under `http://localhost:8081` in your browser and server tests are running in watch mode in console. | ||
|
||
Finally, there are `Bundle` and `Azure` targets that you can use to package your app and deploy to Azure, respectively: | ||
|
||
```bash | ||
dotnet run -- Bundle | ||
dotnet run -- Azure | ||
``` | ||
|
||
## 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: | ||
## Live example | ||
|
||
* [Saturn](https://saturnframework.org/) | ||
* [Fable](https://fable.io/docs/) | ||
* [Elmish](https://elmish.github.io/elmish/)"# feliz-react-awesome-slider" | ||
A demo can be found [here](https://akash-mair.github.io/feliz-react-awesome-slider/) with some sample code |