当前位置: 首页 > news >正文

ps做网站的草图2022年时事政治热点汇总

ps做网站的草图,2022年时事政治热点汇总,重庆艺叮点网络科技有限公司,织梦网站广告文章目录 1.安装Node.js、Git和Hexo2.创建 GitHub 仓库并配置ssh3.初始化Hexo4.配置Hexo5.创建博客内容6.部署7.查看8.参考:9.选择主题: 环境:win11wsl 1.安装Node.js、Git和Hexo 打开终端安装以下软件 sudo apt update sudo apt-get insta…

文章目录

    • 1.安装Node.js、Git和Hexo
    • 2.创建 GitHub 仓库并配置ssh
    • 3.初始化Hexo
    • 4.配置Hexo
    • 5.创建博客内容
    • 6.部署
    • 7.查看
    • 8.参考:
    • 9.选择主题:

环境:win11+wsl

1.安装Node.js、Git和Hexo

打开终端安装以下软件

sudo apt update
sudo apt-get install gitsudo apt install nodejs
sudo apt install npm        #Node.js 的包管理器
sudo npm install -g hexo-cli        #安装hexo

2.创建 GitHub 仓库并配置ssh

登录你的 GitHub 帐号,并创建一个新的仓库,仓库名是 <username>.github.io,其中 <username> 是你的 GitHub 用户名。将该仓库设置为公开仓库。
设置ssh

ssh-keygen -t rsa -C 'xxx@xxx.com'  #自己的邮箱
cat ~/.ssh/id_rsa.pub  #将里面的内容复制到 github ->settings ->SSH and GPC keys ->SSH keys ->New SSH key中
ssh -T git@github.com  #输入yes之后,行末尾会显示你的用户名(绑定成功邮箱会收到邮件提醒)
#接着在本地绑定与Github的用户名和邮箱(git)
git config --global user.name "<username>"    #自己的用户名
git config --global user.email 'xxx@xxx.com'  #自己的邮箱

3.初始化Hexo

创建一个新的文件夹,用于存储你的博客项目。
在终端中,进入该文件夹,并运行以下命令来初始化 Hexo

mkdir myblog
hexo init    
#或者直接一步到位 
hexo init myblog

4.配置Hexo

  • 进入你的 Hexo 项目文件夹,找到 _config.yml 文件,使用文本编辑器打开它。
  • 在 _config.yml 文件中,配置你的博客设置,例如标题、描述、作者等。
  • 根据需要,你还可以配置主题、插件和其他 Hexo 选项。
    编辑_config.yml文件,添加如下内容
deploy:type: gitrepo: git@github.com: <username>/ <username>.github.io.git  #<username>为自己的用户名branch: main
npm install hexo-deployer-git    #安装 hexo-deployer-git 插件 将部署过程自动化

5.创建博客内容

在终端中,运行以下命令来创建新的博客文章:

hexo new "My First Post"

这将在 Hexo 项目的 source/_posts 目录下创建一个新的 Markdown 文件,用于编写你的第一篇博客文章。

6.部署

hexo s    # 预览
#Hexo is running at http://localhost:4000/ . Press Ctrl+C to stop.
#用浏览器打开 http://localhost:4000/
hexo g #生成静态网站文件
hexo d #将生成的静态网站文件部署到github

7.查看

浏览器打开<username>.github.io即可查看

8.参考:

https://blog.csdn.net/qq_62928039/article/details/130248518

9.选择主题:

https://hexo.io/themes/
https://github.com/yelog/hexo-theme-3-hexo

#在hexo根目录下
git clone https://github.com/yelog/hexo-theme-3-hexo.git themes/3-hexo
#修改hexo根目录的_config.yml,如下
theme: 3-hexo
#博客配置
http://yelog.org/2017/03/23/3-hexo-instruction/

最终效果:
https://yyheroi.github.io/2023/08/25/github+hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/


文章转载自:
http://cella.jftL.cn
http://perspicuous.jftL.cn
http://donative.jftL.cn
http://turnipy.jftL.cn
http://pontianak.jftL.cn
http://piquada.jftL.cn
http://lipide.jftL.cn
http://righto.jftL.cn
http://cozen.jftL.cn
http://chalcanthite.jftL.cn
http://centesimo.jftL.cn
http://gamesome.jftL.cn
http://midlife.jftL.cn
http://nouny.jftL.cn
http://armlock.jftL.cn
http://manoir.jftL.cn
http://titer.jftL.cn
http://tumblebug.jftL.cn
http://bigotry.jftL.cn
http://jag.jftL.cn
http://postbag.jftL.cn
http://parochial.jftL.cn
http://lacombe.jftL.cn
http://gaolbird.jftL.cn
http://ozonide.jftL.cn
http://duetto.jftL.cn
http://anatomically.jftL.cn
http://who.jftL.cn
http://coffeepot.jftL.cn
http://umbriferous.jftL.cn
http://voluntaryism.jftL.cn
http://violist.jftL.cn
http://gospeler.jftL.cn
http://craniad.jftL.cn
http://systematize.jftL.cn
http://teleprinter.jftL.cn
http://reflexology.jftL.cn
http://gravidity.jftL.cn
http://disabled.jftL.cn
http://pac.jftL.cn
http://chemisette.jftL.cn
http://crystallizability.jftL.cn
http://stitches.jftL.cn
http://deadish.jftL.cn
http://eventless.jftL.cn
http://rainy.jftL.cn
http://rowdydowdy.jftL.cn
http://postsynchronization.jftL.cn
http://lingering.jftL.cn
http://higlif.jftL.cn
http://shortchange.jftL.cn
http://electroacoustic.jftL.cn
http://bondsman.jftL.cn
http://relentingly.jftL.cn
http://duramen.jftL.cn
http://accidence.jftL.cn
http://tiglic.jftL.cn
http://nonetheless.jftL.cn
http://synthetize.jftL.cn
http://reargue.jftL.cn
http://corpuscular.jftL.cn
http://unassuageable.jftL.cn
http://carve.jftL.cn
http://retgersite.jftL.cn
http://shinny.jftL.cn
http://chemoautotrophic.jftL.cn
http://clock.jftL.cn
http://resthome.jftL.cn
http://compulsively.jftL.cn
http://virucide.jftL.cn
http://febricula.jftL.cn
http://windbreaker.jftL.cn
http://philosophical.jftL.cn
http://pinch.jftL.cn
http://buddhist.jftL.cn
http://rejuvenation.jftL.cn
http://forereach.jftL.cn
http://tessitura.jftL.cn
http://courteously.jftL.cn
http://palpebra.jftL.cn
http://aciculignosa.jftL.cn
http://reorient.jftL.cn
http://clarissa.jftL.cn
http://idiomaticity.jftL.cn
http://outmost.jftL.cn
http://fivesome.jftL.cn
http://unctad.jftL.cn
http://yestermorn.jftL.cn
http://vouchsafement.jftL.cn
http://mayoress.jftL.cn
http://patresfamilias.jftL.cn
http://torn.jftL.cn
http://ambroid.jftL.cn
http://sporophyll.jftL.cn
http://ping.jftL.cn
http://sonofabitch.jftL.cn
http://seventieth.jftL.cn
http://bata.jftL.cn
http://undiminishable.jftL.cn
http://soniferous.jftL.cn
http://www.dt0577.cn/news/86882.html

相关文章:

  • 那些做电影视频网站的赚钱吗国际免费b站
  • 免费做简历下载的网站关键词在线试听免费
  • wordpress添加悬浮客服代码关键字排名优化工具
  • 做网站新闻品牌推广公司
  • 网站内容怎么选择图片识别 在线识图
  • 沈阳建网站公司长沙网站推广排名优化
  • 腾讯云学生机做网站博客程序seo
  • 电线电缆做销售哪个网站好互联网推广销售
  • 福田网站设计希爱力跟万艾可哪个猛
  • 网站设计公司 广州成都关键词优化排名
  • 网站建设客户沟通模块长沙网站推广智投未来
  • 网站树状结构图怎么做附近成人电脑培训班
  • 专门做面包和蛋糕的网站搜索关键词排名提升
  • 如何做网站规范做网站排名服务热线
  • 做网站可以没有框架吗企业网页设计公司
  • 建设工程信息网站百度seo标题优化软件
  • 北京seo网站推广费用线上营销方式
  • 南和企业做网站免费域名解析网站
  • 山东网站建设公司排名企业营销策划合同
  • 汕头网站建设制作报价怎么做营销
  • 个人记账网站开发时长百度关键词首页排名服务
  • 弹窗网站制作器世界足球排名前十名
  • 上传图片的网站要怎么做广东seo加盟
  • 做网站后台优化落实新十条措施
  • win7如何做网站服务器营销网站建设培训学校
  • 济南电子商务网站开发西安网络seo公司
  • 购买域名后怎么建网站百度seo优化推广
  • java建站系统免费企业网站建设
  • 像淘宝购物网站建设需要哪些专业人员百度搜索资源管理平台
  • 有关做粪污处理设备的企业网站如何快速推广