ldc-showroom/README.md
2025-09-25 16:40:18 +02:00

2.2 KiB

Showroom - App Expo

Update : 25-09-2025

Prerequisites

Binaries

  • Node & NPM
  • Wine & Wine32

Wine

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

sudo nano /etc/apt/preferences.d/99-libgd3-ubuntu.pref

Add :

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 :

sudo apt update
sudo apt dist-upgrade

rm -rf ~/.wine

Datas

Put .zip export from backend and put it in :

./static/data

ex:

ls static/data

return :

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

Docker way

make install

make build

Host way

npm run build

Last command give you an .exe in folder below :

release/

For example :

ls release/2.3.3

Should return :

'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 to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.