Compare commits
No commits in common. "5ba4dbe7fb3fdbd2ac8ee4376e4ec1347b8b6e8c" and "9bb7fdd037744ebca431d3f6fb9deaaacf89f3b8" have entirely different histories.
5ba4dbe7fb
...
9bb7fdd037
37
.env.exemple
37
.env.exemple
@ -1,37 +0,0 @@
|
|||||||
# Configuration OVH
|
|
||||||
OVH_APP_KEY=
|
|
||||||
OVH_APP_SECRET=
|
|
||||||
OVH_CONSUMER_KEY=
|
|
||||||
OVH_SMS_SERVICE_NAME=
|
|
||||||
|
|
||||||
# Configuration SMS Factor
|
|
||||||
SMS_FACTOR_TOKEN=
|
|
||||||
|
|
||||||
#Configuration Mailchimp
|
|
||||||
MAILCHIMP_API_KEY=
|
|
||||||
MAILCHIMP_KEY=
|
|
||||||
MAILCHIMP_LIST_ID=
|
|
||||||
|
|
||||||
#Configuration Stripe
|
|
||||||
STRIPE_SECRET_KEY=
|
|
||||||
STRIPE_WEBHOOK_SECRET=
|
|
||||||
STRIPE_STANDARD_SUBSCRIPTION_PRICE_ID=
|
|
||||||
STRIPE_STANDARD_ANNUAL_SUBSCRIPTION_PRICE_ID=
|
|
||||||
STRIPE_UNLIMITED_SUBSCRIPTION_PRICE_ID=
|
|
||||||
STRIPE_UNLIMITED_ANNUAL_SUBSCRIPTION_PRICE_ID=
|
|
||||||
|
|
||||||
# Configuration serveur
|
|
||||||
APP_HOST=
|
|
||||||
PORT=
|
|
||||||
|
|
||||||
# Configuration front-end
|
|
||||||
NEXT_PUBLIC_4NK_URL=
|
|
||||||
NEXT_PUBLIC_FRONT_APP_HOST=
|
|
||||||
NEXT_PUBLIC_IDNOT_BASE_URL=
|
|
||||||
NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT=
|
|
||||||
NEXT_PUBLIC_IDNOT_CLIENT_ID=
|
|
||||||
NEXT_PUBLIC_BACK_API_PROTOCOL=
|
|
||||||
NEXT_PUBLIC_BACK_API_HOST=
|
|
||||||
BACK_API_PORT=
|
|
||||||
BACK_API_ROOT_URL=
|
|
||||||
BACK_API_VERSION=
|
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
.env
|
|
BIN
Kogus-1.0.0.exe
Normal file
BIN
Kogus-1.0.0.exe
Normal file
Binary file not shown.
@ -89,8 +89,6 @@ services:
|
|||||||
lecoffre-back:
|
lecoffre-back:
|
||||||
image: git.4nkweb.com/4nk/lecoffre-back-mini:latest
|
image: git.4nkweb.com/4nk/lecoffre-back-mini:latest
|
||||||
container_name: lecoffre-back
|
container_name: lecoffre-back
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
networks:
|
networks:
|
||||||
@ -117,8 +115,6 @@ services:
|
|||||||
ihm_client:
|
ihm_client:
|
||||||
image: git.4nkweb.com/4nk/ihm_client:latest
|
image: git.4nkweb.com/4nk/ihm_client:latest
|
||||||
container_name: ihm_client
|
container_name: ihm_client
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
ports:
|
ports:
|
||||||
- "3003:3003"
|
- "3003:3003"
|
||||||
networks:
|
networks:
|
||||||
|
@ -47,50 +47,45 @@ Section "Install"
|
|||||||
File "kogusico.ico"
|
File "kogusico.ico"
|
||||||
|
|
||||||
; 2. Copier docker-compose, config et script
|
; 2. Copier docker-compose, config et script
|
||||||
File ".env"
|
|
||||||
File "docker-compose.yml"
|
File "docker-compose.yml"
|
||||||
|
File "sdk_relay.conf"
|
||||||
File "run.ps1"
|
File "run.ps1"
|
||||||
|
|
||||||
; 3. Copier relay
|
; 3. Copier bitcoin
|
||||||
CreateDirectory "$INSTDIR\\relay"
|
|
||||||
SetOutPath "$INSTDIR\\relay"
|
|
||||||
File /r "relay\\*.*"
|
|
||||||
|
|
||||||
; 4. Copier bitcoin
|
|
||||||
CreateDirectory "$INSTDIR\\bitcoin"
|
CreateDirectory "$INSTDIR\\bitcoin"
|
||||||
SetOutPath "$INSTDIR\\bitcoin"
|
SetOutPath "$INSTDIR\\bitcoin"
|
||||||
File /r "bitcoin\\*.*"
|
File /r "bitcoin\\*.*"
|
||||||
|
|
||||||
; 5. Copier blindbit
|
; 4. Copier blindbit
|
||||||
CreateDirectory "$INSTDIR\\blindbit"
|
CreateDirectory "$INSTDIR\\blindbit"
|
||||||
SetOutPath "$INSTDIR\\blindbit"
|
SetOutPath "$INSTDIR\\blindbit"
|
||||||
File /r "blindbit\\*.*"
|
File /r "blindbit\\*.*"
|
||||||
|
|
||||||
; 6. Créer dossier de logs
|
; 5. Créer dossier de logs
|
||||||
CreateDirectory "$INSTDIR\\logs"
|
CreateDirectory "$INSTDIR\\logs"
|
||||||
|
|
||||||
; 7. Raccourci Menu Démarrer pour lancer run.ps1
|
; 6. Raccourci Menu Démarrer pour lancer run.ps1
|
||||||
CreateDirectory "$SMPROGRAMS\\${PRODUCT_NAME}"
|
CreateDirectory "$SMPROGRAMS\\${PRODUCT_NAME}"
|
||||||
CreateShortCut "$SMPROGRAMS\\${PRODUCT_NAME}\\Lancer Kogus.lnk" \
|
CreateShortCut "$SMPROGRAMS\\${PRODUCT_NAME}\\Lancer Kogus.lnk" \
|
||||||
"$INSTDIR\\run.ps1" "" \
|
"$INSTDIR\\run.ps1" "" \
|
||||||
"$INSTDIR\\kogusico.ico" 0
|
"$INSTDIR\\kogusico.ico" 0
|
||||||
|
|
||||||
; 8. Lancement initial (install Docker si besoin)
|
; 7. Lancement initial (install Docker si besoin)
|
||||||
ExecWait '"$SYSDIR\\WindowsPowerShell\\v1.0\\powershell.exe" -WindowStyle Hidden -NoProfile -ExecutionPolicy Bypass -File "$INSTDIR\\run.ps1" > "$INSTDIR\\logs\\install.log" 2>&1'
|
ExecWait '"$SYSDIR\\WindowsPowerShell\\v1.0\\powershell.exe" -WindowStyle Hidden -NoProfile -ExecutionPolicy Bypass -File "$INSTDIR\\run.ps1" > "$INSTDIR\\logs\\install.log" 2>&1'
|
||||||
|
|
||||||
; 9. Auto-démarrage Docker Desktop au login utilisateur
|
; 8. Auto-démarrage Docker Desktop au login utilisateur
|
||||||
WriteRegStr HKCU "Software\\Microsoft\\Windows\\CurrentVersion\\Run" \
|
WriteRegStr HKCU "Software\\Microsoft\\Windows\\CurrentVersion\\Run" \
|
||||||
"DockerDesktop" \
|
"DockerDesktop" \
|
||||||
'"$PROGRAMFILES\\Docker\\Docker\\Docker Desktop.exe" --autostart'
|
'"$PROGRAMFILES\\Docker\\Docker\\Docker Desktop.exe" --autostart'
|
||||||
|
|
||||||
; 10. Raccourci dans le dossier Démarrage pour relancer la stack Kogus
|
; 9. Raccourci dans le dossier Démarrage pour relancer la stack Kogus
|
||||||
CreateDirectory "$SMSTARTUP"
|
CreateDirectory "$SMSTARTUP"
|
||||||
CreateShortCut "$SMSTARTUP\\Relancer Kogus Stack.lnk" \
|
CreateShortCut "$SMSTARTUP\\Relancer Kogus Stack.lnk" \
|
||||||
"$SYSDIR\\WindowsPowerShell\\v1.0\\powershell.exe" \
|
"$SYSDIR\\WindowsPowerShell\\v1.0\\powershell.exe" \
|
||||||
'-NoProfile -ExecutionPolicy Bypass -File "$INSTDIR\\run.ps1"' \
|
'-NoProfile -ExecutionPolicy Bypass -File "$INSTDIR\\run.ps1"' \
|
||||||
"$INSTDIR\\kogusico.ico" 0
|
"$INSTDIR\\kogusico.ico" 0
|
||||||
|
|
||||||
; 11. Générer l’uninstaller
|
; 10. Générer l’uninstaller
|
||||||
WriteUninstaller "$INSTDIR\\Uninstall.exe"
|
WriteUninstaller "$INSTDIR\\Uninstall.exe"
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user