Skip to content

luki-ev/librechurch-website

Repository files navigation

LibreChurch Website

This site is based on the evie template: Project site: https://evie.undraw.co

An MIT licensed template bundled with a minimal style guide to build websites faster, especially combined with illustrations from unDraw. It is extemely lightweight, customizable and works perfectly on modern browsers.

Setup

  1. Install node and npm
  2. Install NetBeans 8.2 or 11 (as of Apache NetBeans 11 this seems to work nicely as well)
  3. Checkout the project using git only (without using NetBeans)
  4. run npm install within the project dir
  5. Start NetBeans and configure its preferences (HTML5 pane) to make it find npm and node (and gulp)
  6. Open the checked out project using NetBeans
  7. Install "bartsidee-nb-ejs.nbm" from "netbeans_plugin" directory via "Tools" -> "Plugins" and restart IDE
  8. In case code highlighting for the ejs template files is not yet working correctly (src/docs):
    • Go to Tools -> Options (or Preferences)
    • Click on Miscellaneous Tab then Files tab
    • click the "New" button
    • Type your desire extension without the dot (use ejs, EJS probably already exists).
    • Select the appropriate file type from the "Associated file type (MIME)" drop down box: "Files of EJS (application/x-ejs)"
    • Click "OK", restart IDE and you are done

Srcs:

Usage

  1. Make your changes within the "src" directory.
  2. Either NetBeans: Click the "build" or "run" button of NetBeans.
  3. Or command line: run npm run build in this folder.
  4. You'll find the generated site meant to be served/deployed inside the "public" directory.