Skip to content

A (very) simple c# nuget server, using Nancy and running under Mono

License

Notifications You must be signed in to change notification settings

willemda/Nusharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nusharp

A (very) simple nuget c# nuget server, using Nancy and running under Mono.

#Installation

sudo adduser --disabled-login --gecos 'Nusharp' nusharp
cd /home/nusharp
sudo -u nusharp -H git clone https://github.com/willemda/Nusharp.git
sudo mkdir /opt/nusharp #nusharp will be installed here
sudo mkdir /var/nusharp/packages #packages store
sudo chown nusharp /opt/nusharp
sudo chown nusharp /var/nusharp/packages
sudo -u nusharp xbuild /property:OutputPath='/opt/nusharp'
sudo -u nusharp vim /opt/nusharp/Nusharp.SelfHost.exe.config #edit config, see below

Change the config to match your setup

<add key="packageRepositoryPath" value="/var/nusharp/packages"/> /*package store*/
<add key="port" value="80"/> /*local port to bind*/
<add key="uri" value="http://mynugetserver.mydomain.com"/> /*external uri*/
<add key="username" value="Nusharp"/> /*basic auth, leave empty to disable basic auth*/
<add key="password" value="D64767AA-CCC2-43C9-BA99-F39247963628"/> /*basic auth passw*/
sudo apt-get install supervisor
sudo vim /etc/supervisor/conf.d/nusharp

Make sure to edit the config file to match your setup:

[program:nusharp]
command=/opt/mono/bin/mono Nusharp.SelfHost.exe -d
user=nusharp
stderr_logfile = /var/log/supervisor/nusharp-err.log
stdout_logfile = /var/log/supervisor/nusharp-stdout.log
directory=/opt/nusharp

#Other Nuget Server Projects

https://github.com/kendarorg/PhpNuget

About

A (very) simple c# nuget server, using Nancy and running under Mono

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages