lorenzo-rovigatti / oxDNA

A new version of the code to simulate the oxDNA/oxRNA models, now equipped with Python bindings
https://dna.physics.ox.ac.uk/
GNU General Public License v3.0
43 stars 28 forks source link

Recompilation after `git pull` #29

Closed rkruegs123 closed 2 years ago

rkruegs123 commented 2 years ago

Since this repository is updated quite frequently, I think there should be a section in the documentation for how to recompile the executable after a git pull. E.g., does the user have to do anything special, or can they just repeat the instructions in install.md?

lorenzo-rovigatti commented 2 years ago

Thanks for the suggestion! I have added the following paragraph to the installation doc page:

Updating a local copy

If you cloned the repository to install oxDNA, your local copy can be updated with the following commands:

cd oxDNA        # enter the oxDNA folder
git pull        # use git to synchronize your repo with the online one
cd build        # enter the build folder (see above)
make -j4        # compile the updated source

If you also want to update oxpy don't forget to run make install after the compilation.