xfenix / xfenix.ru

My personal site. Build with gulp, ts, docker, fastify. Many optimization techniques used here

Home Page:https://xfenix.ru/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

My personal site. Build with gulp, ts, docker, fastify. Many optimization techniques used here

https://xfenix.ru/

License:MIT License


Languages

Language:HTML 67.3%Language:SCSS 15.1%Language:TypeScript 10.7%Language:JavaScript 6.0%Language:Dockerfile 1.0%