Skip to content

Latest commit

 

History

History
31 lines (30 loc) · 1.13 KB

INSTALL_WITH_DOCKER.md

File metadata and controls

31 lines (30 loc) · 1.13 KB

Install with docker

  • Install docker
  • Install nodejs
  • Install yarn
  • Copy ignored by default files cp -R ./defaults/. ./
  • Fill stocks private keys in ./private/keys.json guide
  • Set mongo password in ./private/mongo.json and ./private/mongo.env
  • Set auth password in ./private/auth.json
  • install nodejs packages
    yarn
    
  • Build and run containers
    • for server+mongo version (react or vue need run separately)
      docker-compose up kupi-server
      
    • for express+mongo+react version (in development, not ready)
      docker-compose up kupi-server kupi-react
      
    • for express+mongo+vue version (vue frontend not ready)
      docker-compose up kupi-server kupi-vue
      
    • for mongo
      docker-compose up kupi-mongo
      
  • Open http://localhost:8042 for vue-client or http://localhost:8041 for react-client