GithubHelp home page GithubHelp logo

buzhi's Introduction

个人网站

网站地址

个人学习react相关demo,提升对react、webpack、以及前端部署等内容的了解

开发内容

  • 域名备案
  • 项目简单搭建
  • travis 自动部署
  • CDN
  • HTTPS
  • lint相关
  • webpack
  • ...

遇到的问题

travis 部署相关

参考配置 使用 Travis CI 实现 GitHub + Server 自动部署

travis部署时(travis login --auto),安装依赖花了很久,各种配置问题🤷‍♀️,当时也没记录,只找见这一个了

incorrect fallback to Ruby 2.3

nginx

主域名访问(buzhifangxue.com),一直打不到www*下面,开始以为是NGINX的问题,调了好久。添加CDN的时候才知道没有给域名添加相关主机记录(阿里云的文档还是挺好的)。

HTTPS

使用了letsencrypt和Symantec(阿里云可免费申请,个人,一年)

  • letsencrypt三个月需更新一次,可设置脚本自动更新。
  • Symantec,阿里云上申请,需要自己配置NGINX服务

nginx 不在默认安装位置时 ./certbot-auto --nginx --nginx-server-root=/etc/nginx/conf

使用了阿里云的CDN,需要在CDN的HTTPS设置中增加相关认证信息。

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.