Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.
/ LocalNugetService Public archive

Run NuGet Server as a Windows service.

License

Notifications You must be signed in to change notification settings

vantm/LocalNugetService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local NuGet Service

GitHub last commit GitHub top language GitHub

Run NuGet Server as a Windows service.

Releases

version release date
release GitHub release GitHub Release Date
(pre-)release GitHub (pre-)release GitHub (Pre-)Release Date

Prerequisites

  • Windows OS
  • .NET Framework 4.6.1

How to run

  • Build solution in Release mode.
  • (Optional) Copy all files and folders inside bin\Release to somewhere.
  • Go to Release folder (or place where you've copied these fileds) and open cmd or powershell here.
  • Run file install.cmd. Now, the server is running at http://localhost:9028/. Open brower and go to http://localhost:9028/nuget to verify.

Configuration

To configure your service, open configuration file (App.config) and edit these settings:

<appSettings>
    <!-- The port your service will be run on. -->
    <add key="port" value="9028" /> 

    <!-- Default NuGet.Server settings.  -->
    <!-- See this article: https://docs.microsoft.com/en-us/nuget/hosting-packages/nuget-server). -->
    <add key="packagesPath" value="C:\.LocalNuGet" />
    <add key="requireApiKey" value="false" />
    <add key="apiKey" value="" />
    <!-- ./Default NuGet.Server settings. -->
</appSettings>

About

Run NuGet Server as a Windows service.

Resources

License

Stars

Watchers

Forks

Packages

No packages published