Skip to content
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.
Tusman Akhter edited this page Apr 11, 2019 · 1 revision

Local

For local setup only node.js and mongodb are required to be installed. The dependencies must be installed using npm run install-all in the server folder. Then the project can be run using npm run dev. Also a file can be used to run this run_local.sh.

Docker

For docker setup only docker is needed. Bring the containers up by running the docker-compose file. Two files are provided that are located in MigrantHub/MigrantHub folder:

  • For a development environment: docker-compose.yml
  • For a production environment: docker-compose-production.yml

These can be run using run_docker_dev.sh and run_docker_prod.sh scripts. These scripts copy default env files to the proper location and brings the containers up. The environment keys can be inserted in MigrantHub/MigrantHub/server/.env for server and MigrantHub/MigrantHub/client/.env.local.

Clone this wiki locally