Przeglądaj źródła

local changes necessary to get frontend and backend running

tags/0.0.1^2
juancarbajal98 3 lat temu
rodzic
commit
410b447bdd
4 zmienionych plików z 22255 dodań i 7106 usunięć
  1. 2
    1
      backend/knexfile.js
  2. 14507
    6241
      backend/package-lock.json
  3. 4
    2
      backend/server/manifest.js
  4. 7742
    862
      frontend/package-lock.json

+ 2
- 1
backend/knexfile.js Wyświetl plik

1
-require('dotenv').config()
1
+require('dotenv').config({path: './server/.env'})
2
+// require('dotenv').config()
2
 
3
 
3
 const local = {
4
 const local = {
4
     host: process.env.DB_HOST,
5
     host: process.env.DB_HOST,

+ 14507
- 6241
backend/package-lock.json
Plik diff jest za duży
Wyświetl plik


+ 4
- 2
backend/server/manifest.js Wyświetl plik

1
-const Dotenv = require('dotenv')
1
+const Dotenv = require('dotenv').config({path: './server/.env'})
2
+// const Dotenv = require('dotenv')
2
 const Confidence = require('@hapipal/confidence')
3
 const Confidence = require('@hapipal/confidence')
3
 const Inert = require('@hapi/inert')
4
 const Inert = require('@hapi/inert')
4
 const Vision = require('@hapi/vision')
5
 const Vision = require('@hapi/vision')
6
 const HapiSwagger = require('hapi-swagger')
7
 const HapiSwagger = require('hapi-swagger')
7
 
8
 
8
 /** Pull .env into process.env */
9
 /** Pull .env into process.env */
9
-Dotenv.config({ path: `${__dirname}/../.env` })
10
+// Dotenv.config({ path: `${__dirname}/../.env` })
11
+// Dotenv.config({ path: `${__dirname}/../.env` })
10
 
12
 
11
 /** Glue manifest as a confidence store */
13
 /** Glue manifest as a confidence store */
12
 module.exports = new Confidence.Store({
14
 module.exports = new Confidence.Store({

+ 7742
- 862
frontend/package-lock.json
Plik diff jest za duży
Wyświetl plik


Ładowanie…
Anuluj
Zapisz