Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sepmein/malaria-one
The source code of malaria.one website.
https://github.com/sepmein/malaria-one
gatsby graphql infectious-diseases malaria modeling postgresql react webapp website
Last synced: about 2 months ago
JSON representation
The source code of malaria.one website.
- Host: GitHub
- URL: https://github.com/sepmein/malaria-one
- Owner: sepmein
- License: mit
- Created: 2021-06-29T16:01:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T07:15:33.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T03:21:33.010Z (9 months ago)
- Topics: gatsby, graphql, infectious-diseases, malaria, modeling, postgresql, react, webapp, website
- Language: JavaScript
- Homepage: http://malaria.one
- Size: 5.51 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Malaria One
A website dedicated to illustrate the malaria models.
## Get start for developper
0. Prerequiste
Skip if you have already done so.
Install `postgresql` `git` and `nodejs` into your system.For example, on `Macos`:
`
brew install postgresql node git
`1. Clone this project:
`
git clone https://github.com/sepmein/malaria-one.git
`2. Install dependencies
cd to the project folder, then
`
npm install gatsby-cli -g
npm install
`3. Start the project
Start `postgres` service, for example on `Macos`:
`
brew service start postgres
`Start `gatsby` server
`
gatsby develop
`Start the `directus` server
`
cd db
npx directus start
`Start `postgraphile` to expose the graphql api
`
npx postgraphile -c 'postgres://localhost/malariaone' --watch --enhance-graphiql --dynamic-json
`If you want to change **malariaone** to other string, change it here, and also remember to change it in the `gatsby.config` file.