No description
  • CSS 41.4%
  • C# 20.4%
  • SCSS 19.1%
  • JavaScript 16%
  • HTML 3%
  • Other 0.1%
Find a file
2023-04-09 17:20:58 +01:00
contrib catalog impl 2022-08-20 17:44:33 +01:00
src support forwarding headers 2023-04-09 03:28:02 +01:00
test bump to net7.0 framework 2023-03-14 23:47:55 +00:00
.build Nothing concrete . 2022-12-11 14:54:47 +00:00
.gitignore repo cleanup 2023-04-08 22:57:03 +01:00
.gitlab-ci.yml testing config 2022-04-16 03:10:12 +01:00
dotnet-tools.json gitversion tool 2022-04-17 22:30:33 +01:00
GitVersion.yml gitversion tool 2022-04-17 22:30:33 +01:00
isn.sln ... 2022-04-09 19:53:26 +01:00
LICENSE Add LICENSE 2021-05-08 14:59:27 +00:00
omnisharp.json REORG 2022-09-25 02:24:21 +01:00
README.md update 2023-04-09 17:20:58 +01:00

ISN

En cours de developement, le détail du paquet n'est toujours pas fourni en API.

Usage


dotnet user-secrets set ConnectionStrings:DefaultConnection "Server=<lame-pgserver>;Port=<lame-pgport>;Database=<lame-dbname>;Username=<lame-dbusername>;Password=<lame-dbpass>;"

isnd&

# get an api-key from <http://localhost:5000/ApkKeys>

isn push -k <lame-api-key> -s http://localhost:5000/index.json your-lame-versionned.nupkg
wget http://localhost:5000/package/index.json?q=your&prerelease=true&semVerLevel=2.0.0

Installation

Depuis le dossier de la solution, compiler la solution :

dotnet build /restore -c Release
dotnet publish -c Release

Déploiement

sudo mkdir -p /srv/www/isnd
sudo cp -a src/isnd/bin/Release/net6.0/publish/* /srv/www/isnd
sudo cp contrib/isnd /etc/init.d/isnd
sudo chmod +x /etc/init.d/isnd
sudo chown -R www-data.www-data /srv/www/isnd
sudo systemctl daemon-reload
  • Créer une base de donées Postgresql,
  • ajuster un fichier de configuration /srv/www/isnd/appsettings.Production.json
  • Démarrer le serveur :
sudo systemctl start isnd
  • Activation du serveur :
sudo systemctl enable isnd

Installation du client

sudo mkdir /usr/local/lib/isn
sudo cp -a src/isn/bin/Release/net6.0/* /usr/local/lib/isn
sudo chown -R root.root /usr/local/lib/isn
sudo ln -s /usr/local/lib/isn/isn /usr/local/bin/isn

Mises à jour

set -e
# compiler tout
dotnet build -c Release
dotnet publish -c Release -f net7.0 src/isnd
# MAJ du serveur
sudo systemctl stop isnd
sudo cp -a src/isnd/bin/Release/net7.0/publish/* /srv/www/isnd
sudo systemctl start isnd
# MAJ du client
sudo cp -a src/isn/bin/Release/net7.0/* /usr/local/lib/isn
sudo chown -R root.root /usr/local/lib/isn