Skip to content

Commit

Permalink
Add metadata to nuget packages
Browse files Browse the repository at this point in the history
  • Loading branch information
binarymash committed May 30, 2018
1 parent 3b1500b commit 9b24e7f
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started/running-the-client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Run the ``Samples\Evelyn.Client.Host`` project
Running on the command line
---------------------------

``dotnet .\src\Evelyn.Client.Host\bin\Release\netcoreapp2.0\evelyn.client.host.dll``
``dotnet .\src\Evelyn.Client.Host\bin\Release\netcoreapp2.1\evelyn.client.host.dll``

Using a toggle
--------------
Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started/running-the-server.rst
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
Running the REST Server
=======================

A sample server host is provide for the REST API - this can be found at ``./src/Evelyn.Host``. By default this will run with an in-memory event store. You won't want to run this host in a production environment, but it's useful for now because there are no dependencies to set up and nothing to configure.
A sample server host is provide for the REST API - this can be found at ``./src/Evelyn.Server.Host``. By default this will run with an in-memory event store. You won't want to run this host in a production environment, but it's useful for now because there are no dependencies to set up and nothing to configure.

You can run the sample host in Visual Studio or on the command line.

Running in Visual Studio
------------------------

Run the ``Samples\Evelyn.Host`` project
Run the ``Samples\Evelyn.Server.Host`` project

Running on the command line
---------------------------

``dotnet .\src\Evelyn.Host\bin\Release\netcoreapp2.0\evelyn.host.dll``
``dotnet .\src\Evelyn.Server.Host\bin\Release\netcoreapp2.1\evelyn.server.host.dll``


Accessing the REST Server
-------------------------

By default, the sample server host will listen on localhost:2316 - this is configured in ``./src/Evelyn.Host/Properties/launchSettings.json``.
By default, the sample server host will listen on localhost:2316 - this is configured in ``./src/Evelyn.Server.Host/Properties/launchSettings.json``.

The Evelyn REST API endpoints are specified using `OpenAPI <https://www.openapis.org/>`_. The sample server host is configured to show us this specification using `Swagger UI <https://swagger.io/tools/swagger-ui/>`_. We can access the Swagger UI in a browser by navigating to ``/swagger/`` endpoint of the server. So, if we're using the default config, this will be at ``http://localhost:2316/swagger/``.

Expand Down
9 changes: 9 additions & 0 deletions src/Evelyn.Client.Rest/Evelyn.Client.Rest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<CodeAnalysisRuleSet>..\..\codeanalysis.ruleset</CodeAnalysisRuleSet>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.0-dev</Version>
<Description>Client-side adapter to access the Evelyn REST API</Description>
<PackageProjectUrl>https://github.com/binarymash/evelyn</PackageProjectUrl>
<Copyright>Philip Wood 2018</Copyright>
<Authors>Philip Wood</Authors>
<Company />
<RepositoryUrl>https://github.com/binarymash/evelyn</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageLicenseUrl>https://github.com/binarymash/evelyn/blob/master/LICENSE</PackageLicenseUrl>

</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
9 changes: 9 additions & 0 deletions src/Evelyn.Client/Evelyn.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<CodeAnalysisRuleSet>..\..\codeanalysis.ruleset</CodeAnalysisRuleSet>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.0-dev</Version>
<Description>Core functionality for Evelyn clients</Description>
<PackageProjectUrl>https://github.com/binarymash/evelyn</PackageProjectUrl>
<Copyright>Philip Wood 2018</Copyright>
<Authors>Philip Wood</Authors>
<Company />
<RepositoryUrl>https://github.com/binarymash/evelyn</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageLicenseUrl>https://github.com/binarymash/evelyn/blob/master/LICENSE</PackageLicenseUrl>

</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
10 changes: 9 additions & 1 deletion src/Evelyn.Core/Evelyn.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
<TargetFramework>netstandard2.0</TargetFramework>
<CodeAnalysisRuleSet>..\..\codeanalysis.ruleset</CodeAnalysisRuleSet>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.0-dev</Version>
<Version>0.0.0-dev</Version>
<Description>Core functionality for Evelyn</Description>
<PackageProjectUrl>https://github.com/binarymash/evelyn</PackageProjectUrl>
<Copyright>Philip Wood 2018</Copyright>
<Authors>Philip Wood</Authors>
<Company />
<RepositoryUrl>https://github.com/binarymash/evelyn</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageLicenseUrl>https://github.com/binarymash/evelyn/blob/master/LICENSE</PackageLicenseUrl>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
11 changes: 10 additions & 1 deletion src/Evelyn.Management.Api.Rest/Evelyn.Management.Api.Rest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@
<TargetFramework>netcoreapp2.1</TargetFramework>
<CodeAnalysisRuleSet>..\..\codeanalysis.ruleset</CodeAnalysisRuleSet>
<Version>0.0.0-dev</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>REST API for the Evelyn Server</Description>
<PackageProjectUrl>https://github.com/binarymash/evelyn</PackageProjectUrl>
<Copyright>Philip Wood 2018</Copyright>
<Authors>Philip Wood</Authors>
<Company />
<RepositoryUrl>https://github.com/binarymash/evelyn</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageLicenseUrl>https://github.com/binarymash/evelyn/blob/master/LICENSE</PackageLicenseUrl>

</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<CodeAnalysisRuleSet>..\..\codeanalysis.ruleset</CodeAnalysisRuleSet>
<Version>0.0.0-dev</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>An EventStore.org adapter for Evelyn</Description>
<PackageProjectUrl>https://github.com/binarymash/evelyn</PackageProjectUrl>
<Copyright>Philip Wood 2018</Copyright>
<Authors>Philip Wood</Authors>
<Company />
<RepositoryUrl>https://github.com/binarymash/evelyn</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageLicenseUrl>https://github.com/binarymash/evelyn/blob/master/LICENSE</PackageLicenseUrl>

</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down

0 comments on commit 9b24e7f

Please sign in to comment.