Website of the Louvain-li-Nux KAP
- Install
npm
- Install gulp:
# npm install -g gulp
- clone this repo and move into it:
$ git clone git@github.com:louvainlinux/site.git && cd site
- install dependencies:
$ npm install --dev
- build:
$ gulp deploy
Make the deployment steps, and then (in the site
directory) run gulp serve
.
- Make a local clone
- Edit the required file
- Test on local machine
- Commit and push to github
- On the VPS,
cd /var/www/louvainlinux
,git pull
and restart the service:
# systemctl restart site_llnux.service
Edit mainly the templates in views/pages/
. The templating language doc is
here: https://pugjs.org/api/getting-started.html. You can create new files,
but no sub-directory.