This is the code repository for the mip.ebrains.eu website.
The website is based on
- Vue.js for the frontend
- Strapi for the CMS
- PostgresSQL for the database
- Apollo for the GraphQL API
You need docker and docker-compose in order to run this stack.
- clone this repository.
- create a
.env.prod
file based on.env.dev
variables ./deploy.sh
DNS queries inside docker fail with Error: getaddrinfo EAI_AGAIN
Simple fix is to create the file /etc/docker/daemon.json
and insert:
{
"dns": ["10.0.0.2", "8.8.8.8"]
}
You need Node.js and yarn in order to run this stack.
- clone this repo
./develop.sh
will launch the Strapi CMS and Postgres- in another terminal,
cd frontend
yarn serve
will launch the frontend- You will need to
yarn install
at first launch.