Compare commits
5 Commits
9bb7fdd037
...
5ba4dbe7fb
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5ba4dbe7fb | ||
![]() |
9b69c5b163 | ||
![]() |
fe86f26bef | ||
![]() |
b3db52c78b | ||
![]() |
7efc07bddb |
37
.env.exemple
Normal file
37
.env.exemple
Normal file
@ -0,0 +1,37 @@
|
||||
# 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
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.env
|
BIN
Kogus-1.0.0.exe
BIN
Kogus-1.0.0.exe
Binary file not shown.
@ -89,6 +89,8 @@ services:
|
||||
lecoffre-back:
|
||||
image: git.4nkweb.com/4nk/lecoffre-back-mini:latest
|
||||
container_name: lecoffre-back
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "8080:8080"
|
||||
networks:
|
||||
@ -115,6 +117,8 @@ services:
|
||||
ihm_client:
|
||||
image: git.4nkweb.com/4nk/ihm_client:latest
|
||||
container_name: ihm_client
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "3003:3003"
|
||||
networks:
|
||||
|
@ -47,45 +47,50 @@ Section "Install"
|
||||
File "kogusico.ico"
|
||||
|
||||
; 2. Copier docker-compose, config et script
|
||||
File ".env"
|
||||
File "docker-compose.yml"
|
||||
File "sdk_relay.conf"
|
||||
File "run.ps1"
|
||||
|
||||
; 3. Copier bitcoin
|
||||
; 3. Copier relay
|
||||
CreateDirectory "$INSTDIR\\relay"
|
||||
SetOutPath "$INSTDIR\\relay"
|
||||
File /r "relay\\*.*"
|
||||
|
||||
; 4. Copier bitcoin
|
||||
CreateDirectory "$INSTDIR\\bitcoin"
|
||||
SetOutPath "$INSTDIR\\bitcoin"
|
||||
File /r "bitcoin\\*.*"
|
||||
|
||||
; 4. Copier blindbit
|
||||
; 5. Copier blindbit
|
||||
CreateDirectory "$INSTDIR\\blindbit"
|
||||
SetOutPath "$INSTDIR\\blindbit"
|
||||
File /r "blindbit\\*.*"
|
||||
|
||||
; 5. Créer dossier de logs
|
||||
; 6. Créer dossier de logs
|
||||
CreateDirectory "$INSTDIR\\logs"
|
||||
|
||||
; 6. Raccourci Menu Démarrer pour lancer run.ps1
|
||||
; 7. Raccourci Menu Démarrer pour lancer run.ps1
|
||||
CreateDirectory "$SMPROGRAMS\\${PRODUCT_NAME}"
|
||||
CreateShortCut "$SMPROGRAMS\\${PRODUCT_NAME}\\Lancer Kogus.lnk" \
|
||||
"$INSTDIR\\run.ps1" "" \
|
||||
"$INSTDIR\\kogusico.ico" 0
|
||||
|
||||
; 7. Lancement initial (install Docker si besoin)
|
||||
; 8. 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'
|
||||
|
||||
; 8. Auto-démarrage Docker Desktop au login utilisateur
|
||||
; 9. Auto-démarrage Docker Desktop au login utilisateur
|
||||
WriteRegStr HKCU "Software\\Microsoft\\Windows\\CurrentVersion\\Run" \
|
||||
"DockerDesktop" \
|
||||
'"$PROGRAMFILES\\Docker\\Docker\\Docker Desktop.exe" --autostart'
|
||||
|
||||
; 9. Raccourci dans le dossier Démarrage pour relancer la stack Kogus
|
||||
; 10. Raccourci dans le dossier Démarrage pour relancer la stack Kogus
|
||||
CreateDirectory "$SMSTARTUP"
|
||||
CreateShortCut "$SMSTARTUP\\Relancer Kogus Stack.lnk" \
|
||||
"$SYSDIR\\WindowsPowerShell\\v1.0\\powershell.exe" \
|
||||
'-NoProfile -ExecutionPolicy Bypass -File "$INSTDIR\\run.ps1"' \
|
||||
"$INSTDIR\\kogusico.ico" 0
|
||||
|
||||
; 10. Générer l’uninstaller
|
||||
; 11. Générer l’uninstaller
|
||||
WriteUninstaller "$INSTDIR\\Uninstall.exe"
|
||||
|
||||
SectionEnd
|
||||
|
Loading…
x
Reference in New Issue
Block a user