-
Notifications
You must be signed in to change notification settings - Fork 5
/
.serve-local
executable file
·30 lines (28 loc) · 1.15 KB
/
.serve-local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
#
# Description: This version of the local website server will use purely local
# resources with no external webiste dependencies. Use this version of the
# website if you are not connected to the internet. Files in styles/local and
# scripts/local are used rather than css/javascript files from other web addresses.
#
# Preliminaries:
#
# To use the purely local version of the web server, first run the makefile in
# scripts/local:
# cd scripts/local && make
# This will download the verovio-toolkit.js script needed for rendering
# notation examples for the website. This only has to be done the first time,
# but it would be wise to do it every once in a while, since this will keep
# the verovio toolkit version up-to-date on the local installation.
#
# Also, you need to install jekyll to run the VHV documentation website locally.
# See the webpage: https://jekyllrb.com/docs/installation for instructions
# to install it.
#
# To run from the comand line, type:
# ./.serve-local
#
# Then look for the address of the webserver, which should be:
# http://127.0.0.1:2000
#
bundle exec jekyll serve --watch --config _config.yml,_config-local.yml