Giter Site home page Giter Site logo

diet-pal's Introduction

练习搭建自己的网站

与代码相关的笔记直接写在代码的注释里了, 在这里记录一些小笔记, 主要是如何部署到服务器

要实现的目标

拥有一个自己的可以访问到的网页(huxhu.tech)

  • 首先要申请域名, 就是花钱就行了.
  • 然后要申请域名解析, 比如要部署到AWS上, 申请了一个AWS的Route53的域名解析. 具体内容跟着教程走就OK了.
    大致流程就是建立一个Hosted Zone, 然后设置一系列的Record Set, 比如域名解析, 重定向, 还有对www的解析.
  • 接着要迁移域名, 通过阿里云买的域名有一个原始的域名解析, 要迁移到AWS上去. 注意要把AWS所有的域名服务器地址都填上, 然后等待48小时生效
  • 最后可以在S3上搭建一个静态网页测试一下.

在Linux服务器上部署自己的网站

把之前可以在localhost上跑起来的基于python的web app以及数据库都部署到云端的服务器上

diet-pal's People

Contributors

marcohuxhu 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.