Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Local environment with Docker

  • Clone project to your development workspace

    Code Block
    git clone git@git.web-essentials.asia:hiv-tra-20/Distribution.git ~/dev/docker-projects/hiv/distribution
  • Navigate to your project

    Code Block
    cd ~/dev/docker-projects/hiv/distribution
    sudo chown -R ${USER}:${USER} .
  • Run script to set up

    Code Block
    chmod u+x local_setup/setup.sh
    ./local_setup/setup.sh

    Note: Actually, the script is trying to kill all conflict ports but sometimes it could not. So if there are conflict ports, you have to kill it first then rerun the script. Here is the command to kill the port in Linux: sudo kill $(sudo lsof -t -i:PORT_TO_FREE).

  • Verify installation by visit http://local-rehabilitation.wehost.asia on the browser.

...