GithubHelp home page GithubHelp logo

liyown / vcard-personal-portfolio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codewithsadee/vcard-personal-portfolio

0.0 0.0 0.0 3.63 MB

精美的个人主页模板,含使用教程和部署教程

Home Page: https://codewithsadee.github.io/vcard-personal-portfolio/

License: MIT License

JavaScript 9.90% CSS 47.64% HTML 42.46%

vcard-personal-portfolio's Introduction

制作自己的个人主页,很漂亮的嘞

fork from https://github.com/codewithsadee/vcard-personal-portfolio

本代码将原仓库修改了部分内容

  • 将index拆分,将几个大的类别分别放置,易于维护;
  • 将地图替换为高德接口,国内可以直接访问
  • 添加docker github action,易于部署

部署示例:https://me.liuyaowen.club

需要的话直接fork过去,点个star

使用方法

  • 主要代码文件为index.htmlabout.htmlresume.html...等
  • 将你自己的信息填入对应的文件标签中即可,代码很容易看懂
  • 有问题提个issues,回答的很快

添加高德地图接口

<iframe
src="https://restapi.amap.com/v3/staticmap?location=填入你的坐标&zoom=12&size=850*400&markers=mid,,A:填入你的坐标&key=填入你的key"
width="400" height="300" loading="lazy">
</iframe>

部署方法

  • docker部署

假如你已经有自己的服务器了,并且安装了docker

在仓库的Repository secrets中添加以下字段

DOCKERHUB_PASSWORD donkerhub密码 DOCKERHUB_USERNAME donkerhub用户名 SERVER_HOST 服务器地址 SERVER_PORT ssh端口,没有修改的话就是22 SERVER_USER 服务器用户 SERVER_PWD 服务器密码

OK了,如果你完成了上述操作,在你push代码后会自动的在服务器部署,此时只要使用服务器地址:8088就可以访问,如果想要更改访问端口,在.github\workflows\main.yml修改docker run -dp 8088:80 --restart=always --name myprofile liuyaowen0925/myprofile:latest的端口

  • github page 部署

这个就很简单了,直接子仓库设置中的page设置,有很多教程,我就不罗嗦的

请看 https://blog.csdn.net/SiShen654/article/details/132471133

vcard-personal-portfolio's People

Contributors

liyown avatar codewithsadee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.