Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

ababra/express-nunjucks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-nunjucks

Sample Node Express + Nunjucks app

Express by default comes with the Jade templating engine. This app replaces Jade with [Nunjucks] (http://mozilla.github.io/nunjucks/).

Installation instructions (for RHEL/CentOS):

Install Node + Express:

curl -sL https://rpm.nodesource.com/setup | bash -

yum install -y nodejs

npm install -g express-generator

Install git:

yum install -y git

Clone this repository (will automatically create a subfolder called "express-nunjucks":

git clone https://github.com/ababra/express-nunjucks.git

Install required dependencies (do this inside of the express-nunjucks folder):

npm install

To launch the app:

DEBUG=express-nunjucks PORT=3000 ./bin/www

Open a browser and navigate to http://hostname-or-IP:3000

About

Sample Node Express + Nunjucks app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published