Renommage du .js et utilisation du localhost, en prod
This commit is contained in:
2
.env
2
.env
@@ -1,5 +1,5 @@
|
|||||||
DATABASE = wishlist
|
DATABASE = wishlist
|
||||||
DATABASE_HOST = db.thecoredev.fr
|
DATABASE_HOST = 127.0.0.1
|
||||||
DATABASE_PORT = 3306
|
DATABASE_PORT = 3306
|
||||||
DATABASE_USER = wishlist
|
DATABASE_USER = wishlist
|
||||||
DATABASE_PASSWORD = 7/yvv9JA[RomOkLe
|
DATABASE_PASSWORD = 7/yvv9JA[RomOkLe
|
||||||
5
.env.dev
Normal file
5
.env.dev
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
DATABASE = wishlist
|
||||||
|
DATABASE_HOST = db.thecoredev.fr
|
||||||
|
DATABASE_PORT = 3306
|
||||||
|
DATABASE_USER = wishlist
|
||||||
|
DATABASE_PASSWORD = 7/yvv9JA[RomOkLe
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
"name": "wishlist",
|
"name": "wishlist",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "test",
|
"description": "test",
|
||||||
"main": "app.js",
|
"main": "wishlist.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"start": "nodemon app.js"
|
"start": "nodemon wishlist.js"
|
||||||
},
|
},
|
||||||
"author": "Laurent LE CORRE",
|
"author": "Laurent LE CORRE",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|||||||
Reference in New Issue
Block a user