Skip to content

pfilaretov42/cv

Repository files navigation

cv

Developing

When map is updated in Tiled

  • Export new map as image
    • Turn off layers
      • "Foreground objects"
      • "Not for background image"
    • Turn other layers on
    • Zoom to expected level (400%)
    • File > Export as image > Save to img/cv-infinite.png
  • Export foreground objects as image
    • Turn off all the layers but "Foreground objects"
    • Zoom to expected level (400%)
    • File > Export as image > Save to img/foregroundObjects.png
  • Export data
    • File > Export as > save as JSON
    • Find "Collisions marker" object and take data array
      • Replace data in data/collisions.js
    • Find "Characters" object and take data array
      • Replace data in data/characters.js
    • Find "Special zone marker" object and take data array
      • Replace data in data/battleZones.js

How to minify JS

  • install Terser:
    npm install terser
    
  • run terser-minifier.js in Idea
  • result is saved to cv.min.js

Deploying

How to deploy with Github Pages

How to release changes

  • Checkout master branch
  • Make changes to source code
  • Minify JS - see above
  • Open index.html in a browser to check changes
  • Commit and push changes to master
  • Checkout release branch
  • Merge master branch into release branch. Accept "yours" changes on conflicts where files are deleted in release branch and modified in master branch.
  • Push release branch - GitHub Actions will trigger the build and deploy it.
  • Check changes on the site: https://cv.pfilaretov42.dev

Links

Fonts

Sample Interactive CVs

http://www.rleonardi.com/interactive-resume/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published