Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
camd
cmr
Commits
af5f1795
Commit
af5f1795
authored
Oct 21, 2015
by
Jens Jørgen Mortensen
Browse files
Use Git instead of SVN
parent
32ba0da6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
README.rst
README.rst
+6
-0
about.rst
about.rst
+2
-2
build_web_page.py
build_web_page.py
+3
-3
server.rst
server.rst
+2
-2
No files found.
README.rst
0 → 100644
View file @
af5f1795
Source for the CMR web-page
===========================
:CMR: Computational Materials Repository
See the web-page here: https://cmr.fysik.dtu.dk/
about.rst
View file @
af5f1795
...
...
@@ -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.
build_web_page.py
View file @
af5f1795
...
...
@@ -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
:
...
...
server.rst
View file @
af5f1795
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment