No description
  • C# 33%
  • SCSS 30.8%
  • CSS 26.3%
  • JavaScript 4.8%
  • HTML 4.7%
  • Other 0.4%
Find a file
Paul Schneider a345992351 isn brand fix
2021-07-11 20:15:50 +01:00
.vscode refact 2021-07-05 12:55:52 +01:00
contrib isntallation steps 2021-07-05 21:24:37 +01:00
src isn brand fix 2021-07-11 20:15:50 +01:00
test/isnd.tests isntallation steps 2021-07-05 21:24:37 +01:00
.gitignore refact 2021-07-05 12:55:52 +01:00
.gitlab-ci.yml ci fix due to refact 2021-07-05 21:30:49 +01:00
isn.sln refact 2021-07-05 12:55:52 +01:00
LICENSE Add LICENSE 2021-05-08 14:59:27 +00:00
README.md isn brand fix 2021-07-11 20:15:50 +01:00

ISN

pipeline status

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/packages your-lame-versionned.nupkg

Installation

Depuis le dossier de la solution, compiler la solution :

dotnet build /restore
dotnet publish -c Release

Déployer le serveur

sudo mkdir -p /srv/www/isnd
sudo cp -a src/isnd/bin/Release/netcoreapp2.1/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
  • Activer le serveur :
sudo systemctl enable isnd

Installer le client

sudo cp -a src/isn/bin/Release/net472/* /usr/local/lib/isn
sudo chown -R root.root /usr/local/lib/isn
sudo chmod +x /usr/local/lib/isn/isn.exe
sudo rm -f /usr/local/bin/isn
sudo cp contrib/isn /usr/local/bin/isn
sudo chmod +x /usr/local/bin/isn
sudo chown root.root /usr/local/bin/isn

Mises à jour

sudo cp -a src/isnd/bin/Release/netcoreapp2.1/publish/* /srv/www/isnd
sudo systemctl restart isnd
sudo cp -a src/isn/bin/Release/net472/* /usr/local/lib/isn
sudo chmod +x /usr/local/lib/isn/isn.exe

TODO

isn add
isn set-api-key
isn sources