All content resides in src
folder. Beside html and css the following file types are supported:
.pug
templates https://www.npmjs.com/package/pug.md
markdown files https://help.github.com/categories/writing-on-github/.less
files http://lesscss.org/
Non-native browser file types will get precompiled during build process in order to serve the entire site as static data.
- Every branch gets deployed automaticaly into a custom URL using following pattern:
- master:
https://3d.io/
- branches:
https://3d.io/branch/${branch-name}/
Build takes ca. 2 minutes. Consider: website is being served via CDN. Updating a file might take around 10 min to show effect.
- master:
- Continuous Integration via travis CI:
https://travis-ci.com/archilogic-com/3dio-website - Build and distribution scripts:
https://github.com/archilogic-com/3dio-website/blob/master/tasks/build.js
https://github.com/archilogic-com/3dio-website/blob/master/tasks/dist.js
- Install:
git clone https://github.com/archilogic-com/3d-io-website.git
- Run local dev server:
npm run dev
This will watch files insrc
dir, rebuild and update browser window automaticaly.