Skip to content

Commit 5a95491

Browse files
committed
fix scripts
1 parent d7f9b7d commit 5a95491

File tree

4 files changed

+18
-20
lines changed

4 files changed

+18
-20
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v3
1313
- name: Login to Container Registry
14-
run: docker login ${{ secrets.CONTAINER_REGISTRY }} -u ${{ secrets.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }}
14+
run: echo ${{ secrets.REGISTRY_PASSWORD }} | docker login ${{ secrets.CONTAINER_REGISTRY }} -u ${{ secrets.REGISTRY_USERNAME }} --password-stdin
1515

1616
- name: Build the latest Docker image
1717
run: docker build --tag ${{ secrets.IMAGE_NAME }} .

client/public/index.html

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
77
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
8+
89
<!-- Primary Meta Tags -->
9-
<title>Food Order App</title>
10+
<title>Food Order Application</title>
1011
<meta name="title" content="Food Order App" />
1112
<meta
1213
name="description"
@@ -15,10 +16,7 @@
1516

1617
<!-- Open Graph / Facebook -->
1718
<meta property="og:type" content="website" />
18-
<meta
19-
property="og:url"
20-
content="https://food-order-app-nil.herokuapp.com/"
21-
/>
19+
<meta property="og:url" content="https://food-order-app.projects.nilanjan.tech" />
2220
<meta property="og:title" content="Food Order App" />
2321
<meta
2422
property="og:description"
@@ -31,11 +29,8 @@
3129

3230
<!-- Twitter -->
3331
<meta property="twitter:card" content="summary_large_image" />
34-
<meta
35-
property="twitter:url"
36-
content="https://food-order-app-nil.herokuapp.com/"
37-
/>
38-
<meta property="twitter:title" content="Food Order App" />
32+
<meta property="twitter:url" content="https://food-order-app.projects.nilanjan.tech" />
33+
<meta property="twitter:title" content="Food Order Application - nil1729" />
3934
<meta
4035
property="twitter:description"
4136
content="Simple food ordering website Using VueJS, firebase, NodeJS and MongoDB"
@@ -59,10 +54,7 @@
5954
content="Simple food ordering website Using VueJS, firebase, NodeJS and MongoDB"
6055
/>
6156

62-
<link
63-
rel="stylesheet"
64-
href="https://bootswatch.com/4/cosmo/bootstrap.min.css"
65-
/>
57+
<link rel="stylesheet" href="https://bootswatch.com/4/cosmo/bootstrap.min.css" />
6658
<link
6759
rel="stylesheet"
6860
href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
@@ -84,8 +76,8 @@
8476
<body>
8577
<noscript>
8678
<strong>
87-
We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
88-
properly without JavaScript enabled. Please enable it to continue.
79+
We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without
80+
JavaScript enabled. Please enable it to continue.
8981
</strong>
9082
</noscript>
9183
<div id="app"></div>

nodemon.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"verbose": true,
3+
"ignore": ["*.json", "client/*", "public/*", "tmp/*"]
4+
}

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
"main": "index.js",
66
"scripts": {
77
"setup_env": "npm install && npm install --prefix client",
8-
"start": "node index.js",
98
"admin": "node admin add",
10-
"server": "nodemon server",
9+
"start": "node .",
10+
"server": "NODE_ENV=development nodemon . --config nodemon.json",
11+
"build:client": "npm run build --prefix client",
12+
"prod_setup": "npm run build:client",
13+
"start:dev": "concurrently \"npm run server\" \"npm run client\"",
1114
"client": "npm run serve --prefix client",
1215
"dev": "concurrently \"npm run server\" \"npm run client\"",
13-
"prod_setup": "npm run build --prefix client",
1416
"test": "jest --detectOpenHandles --runInBand ./tests",
1517
"ci_test": "NODE_ENV=production npm run test",
1618
"start:prod": "NODE_ENV=production npm start"

0 commit comments

Comments
 (0)