Browse Source

Update scripts

Johan Le Baut 4 years ago
parent
commit
7c069472f1
2 changed files with 4 additions and 4 deletions
  1. 2 2
      README.md
  2. 2 2
      package.json

+ 2 - 2
README.md

@@ -55,7 +55,7 @@ npm run dev
 
 ## How to deploy using docker compose
 
-You will need to fill the `.env.production` file
+You will need to fill up the `.env.production` file
 ```
 # HOST and PORT of the backend server for client socket connection
 export VUE_APP_SERVER_HOST=
@@ -80,7 +80,7 @@ export DB_PASS=
 Then you just need to do :
 ```
 npm run build-docker
-deocker-compose start
+docker-compose start
 ## Or docker-compose up    to get logs
 ```
 

+ 2 - 2
package.json

@@ -3,11 +3,11 @@
   "version": "0.1.0",
   "private": true,
   "scripts": {
-    "build": "source .env.production && vue-cli-service build",
+    "build": "vue-cli-service build",
     "build-docker": "source .env.production && docker-compose build",
     "build-docker-dev": "source .env.development && docker-compose build",
     "lint": "vue-cli-service lint",
-    "appserver": "source .env.production && node app-server/app-server.js",
+    "appserver": "node app-server/app-server.js",
     "dbtest": "source .env.development && cd tests/db && docker-compose start",
     "build-dev": "source .env.development && vue-cli-service build --mode development",
     "dev": "source .env.development && vue-cli-service serve --open",