update: kitabu POA

This commit is contained in:
Mohamed Sohail 2022-04-17 10:59:14 +03:00
parent 0a4a93cd74
commit 7d1b1bf365
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
7 changed files with 18 additions and 24 deletions

View File

@ -1 +1 @@
**/.git
node_modules

1
.env Normal file
View File

@ -0,0 +1 @@
WS_SECRET=test

View File

@ -1,9 +0,0 @@
language: node_js
sudo: required
dist: trusty
node_js: '8'
before_install: npm install -g grunt-cli
install:
- npm install
- npm run dist -- pow
- npm run dist -- poa

View File

@ -1,10 +1,12 @@
FROM node
FROM node:17-alpine
RUN git clone https://github.com/goerli/netstats-server /netstats-server
WORKDIR /netstats-server
RUN npm install
RUN npm install -g grunt-cli
RUN grunt
EXPOSE 3000
EXPOSE 3000
CMD ["npm", "start"]
RUN apk add --no-cache git
WORKDIR /app
COPY package.json ./
RUN npm i
COPY . .

View File

@ -1 +0,0 @@
web: node ./bin/www

View File

@ -19,18 +19,17 @@
"express": "^4.16.4",
"geoip-lite": "^1.4.3",
"grunt": "^1.0.3",
"grunt-cli": "^1.3.2",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^3.0.0",
"grunt-contrib-pug": "^3.0.0",
"grunt-contrib-uglify": "^4.0.0",
"pug": "^3.0.2",
"lodash": "4.17.19",
"primus": "^7.3.1",
"primus-emit": "^1.0.0",
"primus-spark-latency": "^0.1.1",
"pug": "^3.0.2",
"ws": "^6.1.2"
},
"repository": {
@ -54,5 +53,7 @@
}
],
"license": "LGPL-3.0",
"devDependencies": {}
"devDependencies": {
"grunt-cli": "^1.4.3"
}
}

View File

@ -1,2 +1,2 @@
var networkName = 'Ethereum';
var faviconPath = '/favicon.ico';
var networkName = "Kitabu";
var faviconPath = "/favicon.ico";