Skip to content
Snippets Groups Projects
Commit 39053adb authored by Eric Maldonado's avatar Eric Maldonado
Browse files

Merge branch 'master' of...

Merge branch 'master' of https://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/website-pyscidatagre
parents 0995af4b 902486e1
No related branches found
No related tags found
No related merge requests found
Pipeline #26567 passed with stage
in 22 seconds
*.pyd*
*.pyc
*~
**/tmp
*.so
*.o
*.pstats
*.mod
venv
output/*
cache/*
*~
*.pyc
*.el
*/.ipynb_checkpoints/*
_build
build
__pycache__
__pythran__
\#*\#
.vscode
*/.ipynb_checkpoints/*
**/*.egg-info/
image: python
stages:
- deploy
pages:
stage: deploy
script:
- pip3 install pelican
- make html
- mkdir .public
- cp -r output/* .public
- mv .public public
artifacts:
paths:
- public
only:
- master
- web
\ No newline at end of file
syntax: glob
output/*
cache/*
*~
*.pyc
*.el
*/.ipynb_checkpoints/*
PY?=python
PY?=python3
PELICAN?=pelican
PELICANOPTS=
# python 2
......
......@@ -18,6 +18,25 @@ If you like the complicated git commands and that you understand the git index
Get help to compile and serve the website
-----------------------------------------
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
For help::
make help
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment