Play with nodejs
Building
- Download npm with nodejs
- Download yarn
- Run following commands in cmd
- I don't know why Powershell cannot find
npmandyarn.
- I don't know why Powershell cannot find
yarn
yarn build
yarn test
packages folder
Try building http://gaclib.net in a new way.
mvc
Gaclib Website MVC url router library.
render
Gaclib Website front-end rendering using lit-html.
host
Gaclib Website http server.
article
Gaclib article XML to HTML converter.
article-document
Gaclib document XML to article XML converter.
spider
Gaclib Website Spider
website
Gaclib Website content: http://gaclib.net.
inside the package folder:
- Debug: Open
http://localhost:8080/index.htmlafter runningnpm run start. - Release: Run
npm run downloadto generate the whole website statically in./lib/website.
website-doc2
Gaclib Website Document for GacUI 2.0: http://gaclib.net/doc/current/home.html.
inside the package folder:
- Debug: Open
http://localhost:8080/doc/current/home.htmlafter runningnpm run start. - Release: Run
npm run downloadto generate the whole website statically in./lib/website.
Developer Notes:
Update multiple platform supporting information in:
- packages\website-doc2\src\articles\home.xml
- packages\website-doc2\src\articles\home\download.xml
- packages\website-doc2\src\articles\gacui\running.xml
- packages\website-doc2\src\articles\gacui\kb\application.xml
- packages\website-doc2\src\articles\gacui\kb\osprovider.xml