Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

25 lines (22 loc) · 1.02 KB

xfenix.ru

My single and only CI/CD pipe

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. Dockerized
  • front — frontend page, dockerized inside alpine nginx
    • nginx.conf — all-in-one nginx config, router for back and front, http2 support, etc
  • Github Actions — my small continious depoyment variant

Developer flow

  1. 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');
  2. Run complete dev server (watch all resources, backend api, browsersync):
    cd front && npx gulp watch
  3. Develop.

Developer fixes

For node-sass trouble this helps: CXXFLAGS="--std=c++14" npm i