My small site and some developers shitty things.
It consists of:
back
— written in fastify. Basically it's a small github adapter api with cache. Dockerizedfront
— frontend page, dockerized inside alpine nginxnginx.conf
— all-in-one nginx config, router for back and front, http2 support, etc
- Github Actions — my small continious depoyment variant
- Do once. Paste this code in browser console and run:
localStorage.setItem('xfenix-apiaddr', 'http://0.0.0.0:8080/api/githubrepos/'); localStorage.setItem('xfenix-bypasscache', '1');
- Run complete dev server (watch all resources, backend api, browsersync):
cd front && npx gulp watch
- Develop.
For node-sass
trouble this helps: CXXFLAGS="--std=c++14" npm i