What directory should I ‘git clone’ my openmrs-core repository into?

This page shows the git clone command, but doesn’t indicate what directory to run it from. I ask this because shell scripts such as this seem to assume that they live in a directory at / named openmrs (not openmrs-core). E.g., line 10 of that script is source /openmrs/startup-init.sh.

Thanks in advance for any advice.

Just clone anywhere on your file system that you can easily locate.

That shell script is entirely for use in the Docker container and shouldn’t be used outside of it. Generally, what directory you clone the repo in doesn’t matter, but it should be a directory that does not contain spaces.

Hi @chrisxkeith ,

You can create a folder anywhere in your machine where you want your repository to be.

For example you can create a folder named “project”, then you can do- ‘cd and then you can run the clone command.

Hope this helps.