diff --git a/README.md b/README.md index f5db2a2..9b6bc4c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,94 @@ -# Nuxt 3 Minimal Starter +# Showroom - App Expo +Update : 25-09-2025 +## Prerequisites + +### Binaries +- Node & NPM +- Wine & Wine32 + +#### Wine +```bash +sudo dpkg --add-architecture i386 # Allow Win32 arch for packaging +sudo apt-get update +sudo apt-get install wine wine32 +``` + +In Ubuntu, if you get an error for : libgphoto2-6t64:i386 related to libgd3:i386 + +```bash +sudo nano /etc/apt/preferences.d/99-libgd3-ubuntu.pref +``` +Add : +```text +Package: libgd3 +Pin: release o=Ubuntu +Pin-Priority: 1001 + +Package: libgd3:i386 +Pin: release o=Ubuntu +Pin-Priority: 1001 + +Package: libgphoto2-6 +Pin: release o=Ubuntu +Pin-Priority: 1001 + +Package: libgphoto2-6:i386 +Pin: release o=Ubuntu +Pin-Priority: 1001 +``` +Then : +```bash +sudo apt update +sudo apt dist-upgrade + +rm -rf ~/.wine +``` + +### Datas +Put .zip export from backend and put it in : + +```bash +./static/data +``` + +ex: + +```bash +ls static/data +``` +return : +```bash +showroom-bo-export_25-09-2025_10-15-05.zip +``` + +/!\ You can have multiple .zip files, program always get the last one for building. + +## Production + +```bash +npm run build +``` + +Last command give you an .exe in folder below : +```bash +release/ +``` +For example : +```bash +ls release/2.3.3 +``` +Should return : +```bash +'App UWIL Expo_2.3.3.exe' builder-debug.yml builder-effective-config.yaml win-unpacked +``` +'App UWIL Expo_2.3.3.exe' is the production deliverable. +## Development + +### Nuxt 3 Minimal Starter Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more. -## Setup +### Setup Make sure to install the dependencies: @@ -20,7 +106,7 @@ yarn install bun install ``` -## Development Server +### Development Server Start the development server on `http://localhost:3000`: @@ -38,7 +124,7 @@ yarn dev bun run dev ``` -## Production +### Production Build the application for production: