Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_build
_data
_includes
_instante
_layouts
_parchete
assets
data
educatie
instante
map
parchete
.gitignore
CNAME
LICENSE.txt
Readme.md
_config.yml
analize.html
contact.html
despre.html
gdpr.html
gulpfile.js
index.html
indicele-de-performanta.html
package.json

Readme.md

This is the source for the Onorată Instanță website.

How to build

The site is rendered using Jekyll. This happens automatically because the site is hosted with GitHub Pages.

To render the site locally, install Jekyll, and run the build. The --watch flag will re-generate the site if any file is modified. You can see the output in localhost:3000

jekyll build --watch
gulp watch

Data

The leaf pages (for each "instanță" and "parchet") are pre-generated from CSV files. The code is inside the _build folder, and you can run it, should you want to update the CSV data, or change the templates for the leaf pages.

The scripts in _data run on node.js, here's how to run them:

cd _bulid
npm install
./node_modules/.bin/gulp data