diff --git a/README.md b/README.md index baf4136..6d790e1 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,13 @@ To get started with Warp is super-easy, all you need is to open a new F# Console Install-Package WebSharper.Warp ``` +Or if you use [Paket](http://fsprojects.github.io/Paket/): + +``` +paket init +paket add nuget WebSharper.Warp +``` + # Hello world! The simplest Warp site just serves text and consist of a single endpoint (`/`), by default listening on `http://localhost:9000`. @@ -210,6 +217,12 @@ let MySite = do Warp.RunAndWaitForInput(MySite) |> ignore ``` +If you use Paket, then you should replace the `#`-lines above with this one: + +```fsharp +#load "../packages/WebSharper.Warp/tools/reference-nover.fsx" +``` + In FSI, you should see: ``` diff --git a/WebSharper.Warp/reference-nover.fsx b/WebSharper.Warp/reference-nover.fsx index 600255e..6d484ae 100644 --- a/WebSharper.Warp/reference-nover.fsx +++ b/WebSharper.Warp/reference-nover.fsx @@ -7,4 +7,16 @@ #I "../../WebSharper/lib/net40" #I "../../WebSharper.Compiler/lib/net40" #I "../../WebSharper.Owin/lib/net45" -#load "reference.fsx" +#I "../lib/net45" +#r "WebSharper.Core.dll" +#r "WebSharper.Core.JavaScript.dll" +#r "WebSharper.JavaScript.dll" +#r "WebSharper.Main.dll" +#r "WebSharper.Html.Server.dll" +#r "WebSharper.Html.Client.dll" +#r "WebSharper.Sitelets.dll" +#r "WebSharper.Web.dll" +#r "IntelliFactory.Core.dll" +#r "Mono.Cecil.dll" +#r "WebSharper.Compiler.dll" +#r "WebSharper.Warp.dll"