Skip to content

Commit

Permalink
Merge pull request #51 from typhoidgenomics/dev
Browse files Browse the repository at this point in the history
v1.3
  • Loading branch information
lcerdeira authored Sep 13, 2023
2 parents d319fa6 + 8f7a5e1 commit 48e9eac
Show file tree
Hide file tree
Showing 49 changed files with 23,708 additions and 23,010 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

## Description

TyphiNET is a dashboard for visualising global _Salmonella_ Typhi genotype and antimicrobial resistance data. Our interface allows you to search for specific data on individual countries and over specific time periods. Data are regularly updated (last updated/curation on February 03th, 2023) from [Pathogenwatch](https://pathogen.watch/).
TyphiNET is a dashboard for visualising global _Salmonella_ Typhi genotype and antimicrobial resistance data. Our interface allows you to search for specific data on individual countries and over specific time periods. Data are regularly updated (last updated/curation on September 12th, 2023) from [Pathogenwatch](https://pathogen.watch/).

TyphiNET is available at: http://typhi.net

Expand All @@ -40,15 +40,19 @@ npm install -g yarn
git clone https://github.com/zadyson/TyphiNET.git
```

#### 4. Inside the project, folder run this command to install the server dependencies

#### 4. Inside the project folder run this command to install the server dependencies


```sh
npm install
```

#### 5. Inside the folder `/client`, run the previous command to install the client dependencies

#### 6. Inside the project folder, create a file named `.env`. Inside it, copy the following code

#### 6. Inside the project folder, create a file named `.env`. Inside it, copy the following code.


```sh
MONGO_URI= (see item 7 from the manual)
Expand Down
20,916 changes: 10,458 additions & 10,458 deletions assets/webscrap/clean/clean.csv

Large diffs are not rendered by default.

24,214 changes: 12,107 additions & 12,107 deletions assets/webscrap/clean/cleanAll.csv

Large diffs are not rendered by default.

786 changes: 393 additions & 393 deletions assets/webscrap/clean/clean_db.csv

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions client/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"files": {
"main.css": "/static/css/main.8dd28c8f.chunk.css",
"main.js": "/static/js/main.61a3baac.chunk.js",
"main.js.map": "/static/js/main.61a3baac.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.83accec4.js",
"runtime-main.js.map": "/static/js/runtime-main.83accec4.js.map",
"static/js/2.cc4bec91.chunk.js": "/static/js/2.cc4bec91.chunk.js",
"static/js/2.cc4bec91.chunk.js.map": "/static/js/2.cc4bec91.chunk.js.map",
"static/js/3.413daa64.chunk.js": "/static/js/3.413daa64.chunk.js",
"static/js/3.413daa64.chunk.js.map": "/static/js/3.413daa64.chunk.js.map",
"static/js/4.12f721b9.chunk.js": "/static/js/4.12f721b9.chunk.js",
"static/js/4.12f721b9.chunk.js.map": "/static/js/4.12f721b9.chunk.js.map",
"static/js/5.7f2ac440.chunk.js": "/static/js/5.7f2ac440.chunk.js",
"static/js/5.7f2ac440.chunk.js.map": "/static/js/5.7f2ac440.chunk.js.map",
"static/js/6.d3b83bee.chunk.js": "/static/js/6.d3b83bee.chunk.js",
"static/js/6.d3b83bee.chunk.js.map": "/static/js/6.d3b83bee.chunk.js.map",
"index.html": "/index.html",
"static/css/main.8dd28c8f.chunk.css.map": "/static/css/main.8dd28c8f.chunk.css.map",
"static/js/2.cc4bec91.chunk.js.LICENSE.txt": "/static/js/2.cc4bec91.chunk.js.LICENSE.txt",
"static/js/3.413daa64.chunk.js.LICENSE.txt": "/static/js/3.413daa64.chunk.js.LICENSE.txt",
"static/js/5.7f2ac440.chunk.js.LICENSE.txt": "/static/js/5.7f2ac440.chunk.js.LICENSE.txt",
"static/js/6.d3b83bee.chunk.js.LICENSE.txt": "/static/js/6.d3b83bee.chunk.js.LICENSE.txt",
"static/media/eu_flag.77134ad3.jpg": "/static/media/eu_flag.77134ad3.jpg",
"static/media/logo-typhinet-prod.f503745b.png": "/static/media/logo-typhinet-prod.f503745b.png"
},
"entrypoints": [
"static/js/runtime-main.83accec4.js",
"static/js/2.cc4bec91.chunk.js",
"static/css/main.8dd28c8f.chunk.css",
"static/js/main.61a3baac.chunk.js"
]
}
Binary file added client/build/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions client/build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"><link rel="apple-touch-icon-precomposed" href="/typhinet-icon.png"/><link rel="apple-touch-icon" href="/typhinet-icon.png"/><link rel="icon" href="/typhinet-icon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>TyphiNET</title><meta name="description" content="TyphiNET is a multi-institutional global collaborative network. Our goal is to facilitate data sharing, and assist in removing barriers to the re-use of pathogen genomic data from both endemic surveillance projects."/><meta property="og:type" content="website"><meta property="og:title" content="TyphiNET"><meta property="og:description" content="TyphiNET is a multi-institutional global collaborative network. Our goal is to facilitate data sharing, and assist in removing barriers to the re-use of pathogen genomic data from both endemic surveillance projects."><meta property="og:image" content="/typhinet-preview.png"><link rel="manifest" href="/manifest.json"/><link rel="preconnect" href="https://fonts.gstatic.com"><link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;800&display=swap" rel="stylesheet" crossorigin="anonymous"><link href="/static/css/main.8dd28c8f.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root" class="App"></div><script>!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],p=0,s=[];p<i.length;p++)a=i[p],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);s.length;)s.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"413daa64",4:"12f721b9",5:"7f2ac440",6:"d3b83bee"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this.webpackJsonptyphinet=this.webpackJsonptyphinet||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=c;r()}([])</script><script src="/static/js/2.cc4bec91.chunk.js"></script><script src="/static/js/main.61a3baac.chunk.js"></script></body></html>
Binary file added client/build/legends/MapView_DominantGenotype.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/build/legends/MapView_NoSamples.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/build/legends/MapView_Others.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/build/legends/MapView_Sensitive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions client/build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "TyphiNET",
"name": "TyphiNET",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
3 changes: 3 additions & 0 deletions client/build/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
2 changes: 2 additions & 0 deletions client/build/static/css/main.8dd28c8f.chunk.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/build/static/css/main.8dd28c8f.chunk.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions client/build/static/js/2.cc4bec91.chunk.js

Large diffs are not rendered by default.

Loading

0 comments on commit 48e9eac

Please sign in to comment.