This is the repository for the website https://g0v.tw.
Discuss here: https://g0v.hackmd.io/7LBPpu4FQAi7B3343Vb69Q
To startup the dev server, you will need NodeJS and NPM. Check nodejs.org for more information.
After Nodejs is installed, run following commands:
npm install
npm start
Which installs required packages and start the server for you at http://localhost:4000.
g0v.tw is developed with Pug, livescript and Stylus as HTML/JS/CSS counterpart. Codes are built automatically on changing by @zbryikt/template, a simple frontend server.
The folder structure basically follows @zbryikt/template
and the location for source files and resource files:
web
- all frontend stuffconfig.json
- server configurationlocales
- i18n resourcessrc
- source filespug
- all pug filesls
- all livescript filesstylus
- all stylus files
static
- generated / assets filesassets
- images and librariesimg
- image files go here
Push web/static
to gh-pages
by following commands:
npm run build
npm start
./deploy
MIT License