This is my resume.
- Based on
Node v16.14.0
; - Change the branch to the
master
s; git checkout master
to move to the master's branch for development;npm i
to install all the dependencies;- If you don't have the stable network environment, the
node_modules
is available online. - You can directly place the
node_modules
from branchlibs
and no need tonpm install
at all. - Revise the contents of the resume as you wish in source folder;
- Be sure to reference the contents in the source files and place the images into the correct folders so that you are able view them later online;
npm run start
to see the changes in the browser, make sure there are no errors;- Open the address shown on console board in the Firefox browser and save the content using the Firefox plugin called
SingleFile
; npm run build
to build out the fruits into the dist folder, but thisdist
folder is not going to be the last deployable folder we are to put on our public server, just keep this 'dist' folder as a backup;git checkout built
to go to the branch namedbuilt
which we deploy on our public server(eg: Github Pages);- Place the HTML file created by
SingleFile
plugin in the root folder of branchbuilt
; - Rename and open the file created by Firefox SingleFile plugin then revise the line of
Print Button
to the code below:
<button class="actions__btn js-print utl-screen-only has-tooltip" aria-label="Print Résumé" onclick="print()">
- Note: Make sure that the images you placed in
assets folder
is also placed into the assets folder of branch 'built', if not, copy them into it; - ---------------Use Lua5.3 To Run gitPusher.lua On Both Branches---------------
git add .
to add all of the files;git commit -m 'update'
to commit the changesgit push -u origin master
to push the master's change onto the Github;git push -u origin built
to push the built's change onto the Github(use gitPusher.lua to automatically push the codes if the network is unstable);- Open the Github page to view the result;
git push -u originGitee master
to push the master's change onto the Gitee;git push -u originGitee built
to push the master's change onto the Gitee;- ------------------------------------------------------------------------------
- Manually click
force update
on Gitee Pages Services to deploy the latest version of your resume; - Open the Gitee page to view the result.
- Note that the
dist
folder created in this project is not deployable on Gitee pages or Github pages due to some path issues, so use single file instead.
git checkout master
to move to the master's branch for development;- Revise the contents of your resume;
npm run start
to see the changes in the browser, make sure there are no errors;- Open the address shown on console board in the Firefox browser and save the content using the Firefox plugin called
SingleFile
; - Copy the images in
assets
folder; npm run build
to build out the fruits into the dist folder, but thisdist
folder is not going to be the last deployable folder we are to put on our public server, just keep this 'dist' folder as a backup;lua gitPusher.lua
to push the master branch to the online repository;git checkout built
to go to the branch namedbuilt
which we deploy on our public server(eg: Github Pages);- Place the HTML file created by
SingleFile
plugin in the root folder of branchbuilt
; - Rename and open the file created by Firefox SingleFile plugin then revise the line of
Print Button
to the code below:
<button class="actions__btn js-print utl-screen-only has-tooltip" aria-label="Print Résumé" onclick="print()">
- Note: Make sure that the images you placed in
assets folder
is also placed into the assets folder of branch 'built', if not, copy them into the folder; lua53 gitPusher.lua
to push the built branch onto the online repository;- Manually click
force update
on Gitee Pages Services to deploy the latest version of your resume; - Open the Gitee page to view the result.
Alexander Ezharjan
30th April, 2022