Commit af5f1795 authored by Jens Jørgen Mortensen's avatar Jens Jørgen Mortensen
Browse files

Use Git instead of SVN

parent 32ba0da6
Source for the CMR web-page
===========================
:CMR: Computational Materials Repository
See the web-page here: https://cmr.fysik.dtu.dk/
......@@ -11,7 +11,7 @@ Building this web-page
Check out the source::
$ svn co https://svn.fysik.dtu.dk/projects/cmr2/trunk cmr
$ git clone https://gitlab.com/camd/cmr.git
$ cd cmr
Make sure you have up to date :ref:`ASE <ase:download_and_install>` and
......@@ -36,5 +36,5 @@ again and check the results::
$ make
$ firefox build/html/index.html
When things are OK, you can ``svn commit`` the updated files and the
When things are OK, you can ``git commit`` the updated files and the
*cmr.fysik.dtu.dk* webpage will be updated automatically within an hour.
......@@ -6,7 +6,7 @@ import shutil
import subprocess
import sys
from ase.utils.build_web_page import svn_update
from ase.utils.build_web_page import git_pull
from ase.utils.sphinx import clean
from downloads import downloads
......@@ -57,8 +57,8 @@ def main():
'there are changes to the docs or code.')
opts, args = parser.parse_args()
assert len(args) == 0
changes = svn_update('ase')
changes |= svn_update('cmr')
changes = git_pull('ase')
changes |= git_pull('cmr')
if opts.force_build or changes:
build()
finally:
......
......@@ -13,8 +13,8 @@ To get started from scratch::
$ cd ~
$ mkdir sphinx
$ cd sphinx
$ svn co https://svn.fysik.dtu.dk/projects/cmr2/trunk cmr
$ svn co https://svn.fysik.dtu.dk/projects/ase/trunk ase
$ git clone https://gitlab.com/camd/cmr.git
$ git clone https://gitlab.com/ase/ase.git
$ mkdir downloads
Put db-files and images for the front-page in the *download* folder. Then run
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment