Overview
Building more and more apps within qliksense I run into several personal optimisations that I wan’t to share with you. After a couple of pains I figured out how to workaround those issues and setup an enterprise ready architecture.
Prequesits
- Install MongoDB
- pls. follow the guide on https://www.mongodb.com/download-center#community
- or just use a docker image https://hub.docker.com/_/mongo/ (I prefer to go with the docker image – docker-compose.yml)
- Install strapi – pls. follow the quickstart on https://strapi.io
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Use root/example as user/password credentials version: '3.1' services: mongo: image: mongo restart: always environment: MONGO_INITDB_ROOT_USERNAME: admin MONGO_INITDB_ROOT_PASSWORD: admin mongo-express: image: mongo-express restart: always ports: - 27017:8081 environment: ME_CONFIG_MONGODB_ADMINUSERNAME: admin ME_CONFIG_MONGODB_ADMINPASSWORD: admin |
After the database is up and running, create a new directory e.g. strapi change into it and start with the installation of strapi using: npm install