README.rst 1 KB
Newer Older
paugier's avatar
paugier committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Sources of the website of the PySciDataGre group
================================================

Get the source
--------------

Clone the repository (with `hg-git <http://hg-git.github.io/>`_)::

  hg clone https://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/website-pyscidatagre.git

or (with ssh)::

  hg clone git@gricad-gitlab.univ-grenoble-alpes.fr:python-uga/website-pyscidatagre.git

If you like the complicated git commands and that you understand the git index
:-) you can also replace ``hg`` by ``git``.

Get help to compile and serve the website
-----------------------------------------

Samuel's avatar
Samuel committed
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
The site is deployed with [pelican](http://docs.getpelican.com), so first
create a new python virtual environement:

   cd website-pyscidatagre/
   python -m venv venv
   source venv/bin/activate
   pip install -r requirements.txt

Then, edit the contents in `content`.

Finally, compile the html with

   make html

and open the file with a browser, for instance:

   firefox output/index.html


paugier's avatar
paugier committed
40 41 42 43 44
For help::

  make help