5. Setting up your software projectΒΆ
You can setup your existing software projects (or create new ones) using the development-environment container. As example, we will clone and existing python module from Github.
Follow the instructions to run a commandline terminal in the development-environment container.
Run the following command within the container:
cd ~/opt git clone https://github.com/PrasadBabarendaGamage/mesh-tools.gitNote
If you are using a PowerShell on a Windows host operating system, copy these commands one line at a time.
If you would like this module accessible from the terminal or IDEs you can add the path to the module to the
PYTHONPATHenvironmental variable. This is typically achieved by updating your~/.bashrcfile as described in the terminal beginner tutorial.
Add the following to your
~/oc/opt/bashrcfile (this can be achieved using a text editor on your host operating system).Warning
On Windows hosts, it is recommended to use a text editor that is compatible with linux files such as Notepad++. This is because the default notepad or wordpad programs on Windows use carriage returns as end-of-line deliminators, which are are not properly recognised by linux.
export PYTHONPATH=/home/jovyan/work/mesh-tools:$PYTHONPATH export JUPYTER_PATH=/home/jovyan/work/mesh-tools:$JUPYTER_PATH