Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Commit

Permalink
orcids
Browse files Browse the repository at this point in the history
  • Loading branch information
sballesteros committed Nov 27, 2019
1 parent 5d6ee39 commit 9e9ceac
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rapid-prereview",
"version": "0.0.0",
"version": "0.0.1",
"description": "rapid PREreview (outbreak science)",
"main": "index.js",
"scripts": {
Expand All @@ -26,7 +26,7 @@
"reset-cache": "babel-node ./scripts/reset-redis.js --cache-only",
"harvest": "babel-node ./scripts/harvest.js",
"build:client": "rm -rf ./public/assets/* && cross-env NODE_ENV=production webpack --progress",
"build:server": "rm -rf dist; mkdir dist; babel src -d dist",
"build:server": "rm -rf dist; mkdir dist; cross-env NODE_ENV=production babel src -d dist",
"build": "npm run build:client && npm run build:server",
"just-test": "cross-env COUCH_DOCS_DB_NAME=test-rapid-prereview-docs COUCH_INDEX_DB_NAME=test-rapid-prereview-index COUCH_USERS_DB_NAME=test-rapid-prereview-users mocha --reporter spec --require @babel/register --exit",
"test": "cross-env COUCH_DOCS_DB_NAME=test-rapid-prereview-docs COUCH_INDEX_DB_NAME=test-rapid-prereview-index COUCH_USERS_DB_NAME=test-rapid-prereview-users npm run just-test",
Expand Down
3 changes: 2 additions & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,5 +260,6 @@ export const ORG = 'Outbreak Science Rapid PREreview';
export const ADMIN_ORCIDS = [
'0000-0002-3708-3546', // Sam
'0000-0002-6109-0367', // Daniela
'0000-0002-5090-7722' // Michael
'0000-0002-5090-7722', // Michael
'0000-0002-2223-4735' // Sebastien (temporary to test the admin features)
];
5 changes: 4 additions & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ const server = http.createServer(app);

const port = process.env.PORT || 3000;
server.listen(port, () => {
logger.info({ port }, `server listenning on port ${port}`);
logger.info(
{ port, NODE_ENV: process.env.NODE_ENV },
`server listenning on port ${port}`
);
});

process.once('SIGINT', function() {
Expand Down

0 comments on commit 9e9ceac

Please sign in to comment.