update build instructions
This commit is contained in:
parent
5e552a439f
commit
e17ac1f88f
|
|
@ -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`.
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue