diff --git a/README.md b/README.md index 0dddb9b..7f80eb9 100644 --- a/README.md +++ b/README.md @@ -18,15 +18,15 @@ ## Programme exécutable -1. Téléchargez le programme exécutable pour Windows en cliquant [ici](https://github.com/polynux/groupomania-openclassrooms/releases/download/1.0/groupomania-release-1.0.zip). +1. Téléchargez le programme exécutable pour Windows en cliquant [ici](https://github.com/polynux/groupomania-openclassrooms/releases/download/1.1/groupomania-release-1.1.zip). -2. Décompressez le fichier `groupomania-release-1.0.zip`. +2. Décompressez le fichier `groupomania-release-1.1.zip`. 3. Lancez le programme `groupomania.exe`. Si vous souhaitez compiler le programme exécutable, vous pouvez suivre les instructions suivantes : -Executez `cd groupomania-openclassrooms/client` puis `npm install`, puis `npm run build:neu`. +Executez `npm run build:neu`. Le programme exécutable se trouve dans le dossier `groupomania-openclassrooms/client/dist`. diff --git a/package.json b/package.json index 4d9ce95..7c57742 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,11 @@ "main": "index.js", "scripts": { "dev": "nodemon --watch src -e js,ts,json --exec 'ts-node src/index.ts'", - "build": "cd client && npm run build", + "build": "npm run build:server && npm run build:client", "build:neu": "cd client && npm run build:neu", "build:server": "tsc && tsc-alias", - "start": "ts-node src/index.ts", + "build:client": "cd client && npm run build", + "start": "node dist/index.js", "db": "prisma studio", "db:build": "prisma generate", "db:push": "prisma db push",