Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Latest commit

 

History

History
44 lines (35 loc) · 892 Bytes

README.md

File metadata and controls

44 lines (35 loc) · 892 Bytes

louvainlinux-site

Website of the Louvain-li-Nux KAP

Deployment

  1. Install npm
  2. Install gulp:
# npm install -g gulp
  1. clone this repo and move into it:
$ git clone [email protected]:louvainlinux/site.git && cd site
  1. install dependencies:
$ npm install --dev
  1. build:
$ gulp deploy

Local testing

Make the deployment steps, and then (in the site directory) run gulp serve.

Workflow to edit the website

  1. Make a local clone
  2. Edit the required file
  3. Test on local machine
  4. Commit and push to github
  5. On the VPS, cd /var/www/louvainlinux, git pull and restart the service:
# systemctl restart site_llnux.service

What to edit ?

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.