37 lines
840 B
Markdown
37 lines
840 B
Markdown
# Server
|
|
|
|
A [Giraffe](https://github.com/giraffe-fsharp/Giraffe) web application, which has been created via the `dotnet new giraffe` command.
|
|
|
|
## Build and test the application
|
|
|
|
### Windows
|
|
|
|
Run the `build.bat` script in order to restore, build and test (if you've selected to include tests) the application:
|
|
|
|
```
|
|
> ./build.bat
|
|
```
|
|
|
|
### Linux/macOS
|
|
|
|
Run the `build.sh` script in order to restore, build and test (if you've selected to include tests) the application:
|
|
|
|
```
|
|
$ ./build.sh
|
|
```
|
|
|
|
## Run the application
|
|
|
|
After a successful build you can start the web application by executing the following command in your terminal:
|
|
|
|
### Windows
|
|
|
|
dotnet run --project .\src\Server\
|
|
|
|
### Linux / macOS
|
|
```
|
|
dotnet run src/Server
|
|
```
|
|
|
|
|
|
After the application has started visit [http://localhost:5000](http://localhost:5000) in your preferred browser. |