Skip to content

n-kovacevic/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9fc66b9 · Apr 28, 2023
Jan 20, 2019
Apr 28, 2023
Apr 15, 2021
Oct 3, 2018
Apr 29, 2018
Aug 14, 2017
Apr 15, 2021
Apr 29, 2018
Apr 29, 2018
Apr 15, 2021
Apr 15, 2021
Apr 15, 2021
Apr 15, 2021
Apr 15, 2021
Apr 15, 2021

Repository files navigation

nkg5.github.io

This is the source code of my personal website http://nkovacevic.com.

Preparing environment

  • Make sure you have Node.js installed on your system (https://nodejs.org)
  • Make sure you have Ruby installed on your system (https://www.ruby-lang.org)
  • Install npm packages: npm install (might need root privileges)
  • Install sass ruby package: gem install sass (might need root privileges)

Development

Folder structure

  • src -> contains source code for the website (jade, sass, javascript)
  • res -> contains static assets for the website (images, json files ...)
  • xsd -> contains XML Schema definitions used by other applications
  • _dist -> contains compiled source code

Build scripts

npm run main

  • deletes _dist folder
  • initializes new _dist folder
  • compiles all source files (jade, uglify, sass, cssmin...)
  • starts web server listening at localhost:8080
  • watches for source file changes and compiles them on change

npm run build

  • deletes _dist folder
  • initializes new _dist folder
  • compiles all source files (jade, uglify, sass, cssmin...)
  • copies compiled files to root folder